AlpineActiveListConfig<T>

TYPE DEFINITION

The configuration for the activeList Alpine.js component.

It has all properties the ActiveListConfig has from core, plus an optional alpine configuration object which allows you to set the name for the exposed ActiveList.

Since 1.4.0

Extends ActiveListConfig<T>

Properties

  • alpine Optional

    Additional alpine only configuration for the ActiveList.

    Since 1.4.0

    Object
    name: string

    The method name you want to expose the ActiveList under.

    Say for example you set it to "tabs": in the HTML you now use tabs().contents and tabs().activateByIndex(1).

    It is recommended that you provide a name for readability, but it is not required.

    Defaults to 'activeList'.

    Since 1.4.0