React Advanced Odontogram - v2.6.0
    Preparing search index...

    Function onStateChange

    • Subscribe to odontogram state changes. The callback runs after any tooth state edit, the edentulous toggle, an import, or a change to a session setting (numbering system, notes, ICDAS, caries/pulp/wear/discoloration detail, surface notation, fillings, perio display) — so a host that persists the doctor's preferences can react to the settings modal too.

      Parameters

      • cb: () => void

        Callback invoked on each change.

      Returns () => void

      An unsubscribe function.