Class EditorReadyEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<VaadinCKEditor>
com.wontlost.ckeditor.event.EditorReadyEvent
All Implemented Interfaces:
Serializable

public class EditorReadyEvent extends com.vaadin.flow.component.ComponentEvent<VaadinCKEditor>
Editor ready event. Fired when the CKEditor instance is fully initialized and ready to accept user input.

Usage example:

editor.addEditorReadyListener(event -> {
    // Editor is ready, safe to perform operations
    event.getSource().focus();
});
See Also:
  • Constructor Details

    • EditorReadyEvent

      public EditorReadyEvent(VaadinCKEditor source, boolean fromClient, long initializationTimeMs)
      Create an editor ready event.
      Parameters:
      source - the editor component that fired the event
      fromClient - whether the event originated from the client
      initializationTimeMs - editor initialization time in milliseconds
  • Method Details

    • getInitializationTimeMs

      public long getInitializationTimeMs()
      Get the editor initialization time.
      Returns:
      initialization time in milliseconds