SettingTab.refreshDomState method
SettingTab › refreshDomState
Official
Re-evaluate everyvisible and disabled predicate against the current state and apply the result to the rendered DOM. Call this from a render callback's onChange (or any other imperative path) after mutating state that other settings' predicates depend on.Cheap: toggles CSS state in place, no re-render. For changes that affect the structure of the definitions themselves (added or removed items), call
update instead. Signature:
refreshDomState(): voidReturns: void
Since: 1.13.0