API
<dx-terminal>
An example element.
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| name | The name to say "Hello" to. | string | 'World' |
| count | The number of times the button has been clicked. | number | 0 |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| name | name | The name to say "Hello" to. | string | 'World' |
| count | count | The number of times the button has been clicked. | number | 0 |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| sayHello |
| Formats a greeting | string |
Events
| Name | Description |
|---|---|
| count-changed | Indicates when the count changes |
Slots
| Name | Description |
|---|---|
| (default) | This element has a slot |
CSS Shadow Parts
| Name | Description |
|---|---|
| button | The button |