You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// A ".show-modal" button will show a modal dialog defined by its "data-modal" attribute.
108
123
// Each "data-modal-{target}" attribute will be filled to target element's value or text-content.
109
124
// * First, try to query '#target'
110
125
// * Then, try to query '[name=target]'
111
126
// * Then, try to query '.target'
112
127
// * Then, try to query 'target' as HTML tag
113
-
// If there is a ".{attr}" part like "data-modal-form.action", then the form's "action" attribute will be set.
128
+
// If there is a ".{prop-name}" part like "data-modal-form.action", the "form" element's "action" property will be set, the "prop-name" will be camel-cased to "propName".
0 commit comments