Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CollapsibleConfig

Index

Properties

Optional accordion

accordion: boolean

Accordion mode

default

false

Optional animation

animation: boolean

Whether to use animation

default

true

Optional classes

CSS class name

Optional duration

duration: number

Animation duration in ms

default

300

Optional event

event: string

The type of event that is bound on the title to trigger expand/collapse

default

click

Optional index

index: number | number[]

Items that need to be expanded after initialization, all are collapsed by default

Optional selectors

selectors: object

CSS selector for querying title and content elements

Type declaration

  • Optional content?: string

    Content element selector

    default

    article

  • Optional title?: string

    Title element selector

    default

    header

Generated using TypeDoc