A reference to the base (container) element of this widget.
A reference to the base (container) element of this widget.
The widget variable of this widget instance.
If it exists, calls the behavior with the given name.
Name of the behavior.
Additional arguments for the behavior.
Destroys this widget. Called by the PrimeFaces framework.
The HTML container element holding the editor. It exists even if the editor was not created yet.
The hidden textarea holding the value of the editor (eg. the code being edited, this is also the value that is sent when the form is submitted).
A reference to the base (container) element of this widget.
Name of the behavior to check.
Whether any handlers are registered for the given behavior.
Initializes this widget. Called by the PrimeFaces framework.
Configuration as set on the server-side.
Whether this widget is attached to the DOM currently.
true
when the editor was already loaded and initialized and can be interacted with via
getMonaco()
, false
otherwise.
Refreshes this widget with the given configuration.
New configuration for this widget.
Client ID of the script element to remove.
A promise that is resolved once the editor has finished loading and was created successfully.
Generated using TypeDoc
The widget-specific configuration of this widget instance.