The initial value of Object.prototype.constructor is the standard built-in Object constructor.
OptionaldestroyCalled when the plugin is no longer going to be used. Should revert any changes the plugin made to the DOM.
OptionaldocCalled when the document view is updated (due to content,
decoration, or viewport changes). Should not try to immediately
start another view update. Often useful for calling
requestMeasure.
Determines whether an object has a property with the specified name.
A property name.
Determines whether an object exists in another object's prototype chain.
Another object whose prototype chain is to be checked.
Determines whether a specified property is enumerable.
A property name.
Returns a date converted to a string using the current locale.
Returns a string representation of an object.
OptionalupdateNotifies the plugin of an update that happened in the view. This
is called before the view updates its own DOM. It is
responsible for updating the plugin's internal state (including
any state that may be read by plugin fields) and writing to
the DOM for the changes in the update. To avoid unnecessary
layout recomputations, it should not read the DOM layout—use
requestMeasure to schedule
your code in a DOM reading phase if you need to.
Returns the primitive value of the specified object.
This is the interface plugin objects conform to.