API
<my-element>
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 |
Slots
| Name | Description |
|---|---|
| This element has a slot |
CSS Shadow Parts
| Name | Description |
|---|---|
| button | The button |