SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function useModelSync

    • Used for syncing with model state that causes a rerenders.

      Type Parameters

      • EVENTS

      Parameters

      • source: ISource<any, any> | null | undefined

        The source of the model, or null to listen to nothing.

      • eventNames: keyof EVENTS | (keyof EVENTS)[]

        The name of the event or events to listen for.

      Returns void