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