@arcmantle/adapter-element
Preparing search index...
adapter/slot-controller
SlotController
Class SlotController<T>
Type Parameters
const
T
extends
string
[]
=
[
"[default]"
]
Implements
ReactiveController
Index
Constructors
constructor
Properties
host
slot
Names
Methods
handle
Slot
Change
has
Default
Slot
has
Named
Slot
host
Connected
host
Disconnected
test
Constructors
constructor
new
SlotController
<
const
T
extends
string
[]
=
[
"[default]"
]
>
(
host
:
AdapterElement
,
slotNames
?:
T
,
)
:
SlotController
<
T
>
Type Parameters
const
T
extends
string
[]
=
[
"[default]"
]
Parameters
host
:
AdapterElement
slotNames
:
T
= ...
Returns
SlotController
<
T
>
Properties
Protected
host
host
:
AdapterElement
Protected
slot
Names
slotNames
:
T
= ...
Methods
Protected
handle
Slot
Change
handleSlotChange
(
event
:
Event
)
:
void
Parameters
event
:
Event
Returns
void
Protected
has
Default
Slot
hasDefaultSlot
()
:
boolean
Returns
boolean
Protected
has
Named
Slot
hasNamedSlot
(
name
:
string
)
:
boolean
Parameters
name
:
string
Returns
boolean
host
Connected
hostConnected
()
:
void
Returns
void
host
Disconnected
hostDisconnected
()
:
void
Returns
void
test
test
(
slotName
:
"[default]"
|
T
[
number
]
|
stringliteral
)
:
boolean
Parameters
slotName
:
"[default]"
|
T
[
number
]
|
stringliteral
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
host
slot
Names
Methods
handle
Slot
Change
has
Default
Slot
has
Named
Slot
host
Connected
host
Disconnected
test
@arcmantle/adapter-element
Loading...