Last Activity
2 months ago
< x-list-group >
< x-list-group.item >
The Evil Rabbit Jumped over the Fence.
</ x-list-group.item >
</ x-list-group >
<x-list-group>
<x-list-group.item>
The Evil Rabbit Jumped over the Fence.
</x-list-group.item>
</x-list-group>
Attribute
Default
Description
disabled
false
bool
Whether the outside borders are shown.
The outside borders can be removed per x-list-group
instance by supplying the disabled
boolean attribute.
Last Activity
2 months ago
< x-list-group flush >
< x-list-group.item >
< x-slot:title >
Status
</ x-slot:title >
< x-badge style = "success" > Active </ x-badge >
</ x-list-group.item >
< x-list-group.item >
< x-slot:title >
Last Activity
</ x-slot:title >
2 months ago
</ x-list-group.item >
</ x-list-group >
<x-list-group flush>
<x-list-group.item>
<x-slot:title>
Status
</x-slot:title>
<x-badge style="success">Active</x-badge>
</x-list-group.item>
<x-list-group.item>
<x-slot:title>
Last Activity
</x-slot:title>
2 months ago
</x-list-group.item>
</x-list-group>
The x-list-group.item
component has a dedicated x-slot:title
slot which can be used to add additional information about an entry.
Placeholder
The Evil Rabbit Jumped over the Fence.
The Evil Rabbit Jumped over the Fence.
< x-list-group >
< x-list-group.item >
< x-slot:title >
Placeholder
</ x-slot:title >
The Evil Rabbit Jumped over the Fence.
</ x-list-group.item >
< x-list-group.item >
The Evil Rabbit Jumped over the Fence.
</ x-list-group.item >
</ x-list-group >
<x-list-group>
<x-list-group.item>
<x-slot:title>
Placeholder
</x-slot:title>
The Evil Rabbit Jumped over the Fence.
</x-list-group.item>
<x-list-group.item>
The Evil Rabbit Jumped over the Fence.
</x-list-group.item>
</x-list-group>
Use list group items as links by supplying the href=""
attribute. Optionally, as with native anchor elements , a target=""
attribute can be provided to control the behavior of the anchor.
Distorted Fusion
https://distortedfusion.com
Go to
DevNomads
https://devnomads.nl
Go to
< x-list-group >
< x-list-group.item-link href = "https://distortedfusion.com" target = "_blank" >
< x-slot:title >
Distorted Fusion
</ x-slot:title >
https://distortedfusion.com
</ x-list-group.item-link >
< x-list-group.item-link href = "https://devnomads.nl" target = "_blank" >
< x-slot:title >
DevNomads
</ x-slot:title >
https://devnomads.nl
</ x-list-group.item-link >
</ x-list-group >
<x-list-group>
<x-list-group.item-link href="https://distortedfusion.com" target="_blank">
<x-slot:title>
Distorted Fusion
</x-slot:title>
https://distortedfusion.com
</x-list-group.item-link>
<x-list-group.item-link href="https://devnomads.nl" target="_blank">
<x-slot:title>
DevNomads
</x-slot:title>
https://devnomads.nl
</x-list-group.item-link>
</x-list-group>
A list group items can be used as a <button>
by supplying the boolean
boolean attribute or by using the x-list-group.item-btn
component alias.
BENNY BENASSI - Satisfaction
Go to
BENNY BENASSI - Satisfaction
Go to
< x-list-group >
< x-list-group.item button onclick = " alert ('Hello World!')" >
< span > BENNY BENASSI - Satisfaction </ span > < x-badge size = "sm" style = "success" > Radio Edit </ x-badge >
</ x-list-group.item >
< x-list-group.item-btn onclick = " alert ('Hello World!')" >
< span > BENNY BENASSI - Satisfaction </ span > < x-badge size = "sm" style = "warning" > Remix </ x-badge >
</ x-list-group.item >
</ x-list-group >
<x-list-group>
<x-list-group.item button onclick="alert('Hello World!')">
<span>BENNY BENASSI - Satisfaction</span> <x-badge size="sm" style="success">Radio Edit</x-badge>
</x-list-group.item>
<x-list-group.item-btn onclick="alert('Hello World!')">
<span>BENNY BENASSI - Satisfaction</span> <x-badge size="sm" style="warning">Remix</x-badge>
</x-list-group.item>
</x-list-group>