my-element
An example element.
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
count |
count |
number |
0 | The number of times the button has been clicked. |
name |
name |
string |
"World" | The name to say "Hello" to. |
Methods
Method | Type |
---|---|
foo |
(): string |
Slots
Name | Description |
---|---|
This element has a slot |
CSS Shadow Parts
Part | Description |
---|---|
button |
The button |