Sha256: e8c5d78bc39366bfa1d750e58ba88f49c8725a1a4c064424fd80cf45afaa7c61

Contents?: true

Size: 503 Bytes

Versions: 1794

Compression:

Stored size: 503 Bytes

Contents

For the Rails version of the dialog kit, the clickable element being used to open the dialog must be given a `open-dialog` data attribute with a value that is the same as the id being given to the dialog itself. See code example below to see this in action.

Additionally, both the cancel button and the confirm button have optional id props which can be used to pass in a custom id to allow developers to target that button with custom javascript if needed (`confirm_button_id` and `cancel_button_id`).

Version data entries

1,794 entries across 1,794 versions & 2 rubygems

Version Path
playbook_ui-12.17.1 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.17.0.pre.alpha.lightboxcurrentPhotoIndex582 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.17.0 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.16.0.pre.alpha.tooltippositionprop566 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.16.0.pre.alpha.PLAY693tooltipwrongbg558 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.16.0.pre.alpha.PLAY693tooltipwrongbg547 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.16.0.pre.alpha.PLAY693tooltipwrongbg532 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.16.0.pre.alpha.lightboxcurrentphotoprop531 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.16.0.pre.alpha.tiptaptestingpart1528 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.16.0 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.15.0 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.14.0.pre.alpha.lightboxcurrentphotoprop460 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.14.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown457 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.14.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown456 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.14.0 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.13.0.pre.alpha.PLAY693tooltipwrongbg440 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.13.0.pre.alpha.addingProductTokens439 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.13.0.pre.alpha.PLAY705phonenumberkit438 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.13.0 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md
playbook_ui-12.12.0.pre.alpha.PLAY697sandpacklayoutstyles413 app/pb_kits/playbook/pb_dialog/docs/_dialog_default.md