Group

Available as: Web ComponentShortcode

Pass attributes to all inner (spx) child elements. All attributes that start with g-* will be passed on to child elements.

<spx-group g-icon="color-wand" g-header-gap="8px"> <spx-accordion> </spx-accordion> <spx-accordion> </spx-accordion> <spx-accordion> </spx-accordion> </spx-group>

Properties

content

Type: string

target

Type: string

Target element. Can take any querySelector value. (id, class, tag etc.)

Slots

inner

Slot (between HTML tag).

Events

spxGroupDidLoad

Fires after component has loaded.