<my-element>

A web component just for me.

API

<my-element>

An example element.

Attributes

NameDescriptionTypeDefault
nameThe name to say "Hello" to.string"World"
countThe number of times the button has been clicked.number0

Properties

NameAttributeDescriptionTypeDefault
namenameThe name to say "Hello" to.string"World"
countcountThe number of times the button has been clicked.number0

Slots

NameDescription
This element has a slot

CSS Shadow Parts

NameDescription
buttonThe button