<my-element> ⌲ Docs

# 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

### Methods

Name | Parameters | Description | Return
--- | --- | --- | ---
sayHello |
Name | Description | Type
--- | --- | ---
name | The name to say "Hello" to | string
| 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