Constructor
new ButtonElement()
Properties:
Name | Type | Description |
---|---|---|
name |
String | The name of the button |
type |
String | The type of the button if not standard (control, submit) |
textTransform |
String | If the button text should be transformed (uppercase, lowercase, capitalize) |
disabled |
Boolean | Whether the button is disabled |
- Source:
Example
<js-button>OK</js-button>