Back to API Reference
Interface
IInteractiveRangeProvider
abstract
Interface for modifiers that provide interactive text ranges.
Remarks
Implement this interface to register clickable/hoverable regions in text. The InteractiveRangeRegistry queries all providers to find which range (if any) contains a given cluster position. For modifiers that also want to handle click/hover events directly, implement IInteractiveRangeHandler instead.
public abstract bool TryGetRange(int cluster, InteractiveRange range)Attempts to find an interactive range containing the specified cluster.
