@willwade/aac-processors
    Preparing search index...

    Function generateCloneId

    • Generate a clone_id based on grid location and button label

      Clone ID format: "{rows}x{cols}-{row}.{col}-{label_normalized}" Example: "6x4-2.3-more" for button "more" at row 2, col 3 in a 6x4 grid

      Parameters

      • rows: number

        Total number of rows in the grid

      • cols: number

        Total number of columns in the grid

      • row: number

        Zero-based row index of the button

      • col: number

        Zero-based column index of the button

      • label: string

        The button label

      Returns string

      A clone_id string