<dx-terminal>

A web component just for me.

API

<dx-terminal>

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

Methods

NameParametersDescriptionReturn
sayHello
NameDescriptionType
nameThe name to say "Hello" tostring
Formats a greetingstring

Events

NameDescription
count-changedIndicates when the count changes

Slots

NameDescription
(default)This element has a slot

CSS Shadow Parts

NameDescription
buttonThe button