Skip to main content
All docs
V25.1
  • HorizontalRulerVisibleChangedEvent Class

    An event that fires when horizontal ruler visibility changes.

    Declaration

    export class HorizontalRulerVisibleChangedEvent extends RichEditEvent<HorizontalRulerVisibleChangedEventArgs>

    Remarks

    You can handle the HorizontalRulerVisibleChangedEvent at runtime. Use the horizontalRulerVisibleChanged property to access addHandler(handler), removeHandler(handler), and clearHandlers methods. These methods allow you to add and remove event handlers dynamically.

    richEdit.events.horizontalRulerVisibleChanged.addHandler(function(s, e) {
      console.log('The horizontal ruler visibility has changed.');
    });
    

    The event handler uses argument properties of the HorizontalRulerVisibleChangedEventArgs type.

    Inheritance

    Event<TSource, TEventArgs>
    RichEditEvent<TEventArgs>
    HorizontalRulerVisibleChangedEvent