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.
107
122
// Each "data-modal-{target}" attribute will be filled to target element's value or text-content.
108
123
// * First, try to query '#target'
109
124
// * Then, try to query '[name=target]'
110
125
// * Then, try to query '.target'
111
126
// * Then, try to query 'target' as HTML tag
112
-
// If there is a ".{attr}" part like "data-modal-form.action", then the form's "action" attribute will be set.
127
+
// 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