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
Copy file name to clipboardExpand all lines: packages/components/src/components/button/model.ts
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,16 @@ export type DBButtonDefaultProps = {
79
79
* Variant of the button. Use only 1 primary button on a page as CTA otherwise use one of the adaptive buttons.
80
80
*/
81
81
variant?: ButtonVariantType|string;
82
+
83
+
/**
84
+
* Either standardized or custom actions to be performed on an element that is being controlled by a control <button>, specified via the commandfor attribute. (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#commandfor)
85
+
*/
86
+
commandfor?: string;
87
+
88
+
/**
89
+
* Turns a <button> HTML element into a command button, controlling the given interactive element; takes the ID of the element to control as its value. (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button#command)
0 commit comments