AVP 3DWS Deck Documentation
    Preparing search index...

    Type Alias DeckUpdateEvent<T>

    DeckUpdateEvent: T extends any
        ? { detail: { value: DeckHtmlAttributes[T] }; type: `update:${T}` }
        : never

    Event that fires when a property is updated from within the app.

    Type Parameters

    CustomEvent of type update:T with detail { value: DeckHtmlAttributes[P] }, where T is the name of the DeckHtmlAttribute that was updated.

    .addEventListener('update:active', (event) =>
    console.log("The 'active' attribute has been updated. Its new value is", event.detail.value)
    )