Back to API Reference
Class
SpoilerModifier
Inherits:InteractiveModifierBase
Tracks whether each spoiler entity has been revealed by activation.
Remarks
The revealed state survives reparsing while the entity identity remains unchanged. Presentation is configured with ordinary modifiers and parameter changes in the same graph.
public bool IsRevealed(in InteractiveRange range)Returns whether a current spoiler entity is revealed.
public void SetRevealed(in InteractiveRange range, bool value)Changes one current spoiler entity and drives every rule bound to RevealedSignal.
protected override void HandleDefaultAction(RangeInteraction interaction)Performs built-in behavior after all capture, channel, modifier and bubble handlers. It is skipped when a handler calls RangeInteraction.PreventDefault.
public static readonly RangeSignal<bool> RevealedSignalTyped signal published for every spoiler entity. Project selectors and external drivers can observe the same state as the built-in cover rule.
