g3-toolkit API Reference
    Preparing search index...

    Function useAnnouncer

    • Host-side announcer: the current message to pass as AriaCompanion's announcement, and the setter to call from the event sites the host owns (a trace step, a filter change). Debounce and muting live on the component, so every host gets them with the same two props.

      Returns { announce: (message: string) => void; announcement: string }