Search
Ruler Methods
 


 Public Methods

  Name Description

addEventListener

Registers a single event listener on the instance. (Inherited from Disposable.)

addHandlers

Adds an event listener to a DOM element. (Inherited from Control.)

clearHandlers

Removes all event listeners from a DOM element. (Inherited from Control.)

create

Creates and initializes a new Ruler from the specified element. This method is static and can be called without creating an instance of the class.

find

Returns the specified Ruler object. This member is static and can be invoked without creating an instance of the class.

fromJson

Constructs a JavaScript object from a JSON string. (Inherited from Control.)

raiseEvent

Raises an event. (Inherited from Disposable.)

registerForSubmit

Registers an onsubmit handler for the Ruler's parent html form to flush postback data.

removeEventListener

Removes a single event listener attached to the instance. (Inherited from Disposable.)

toJson

Converts a JavaScript object to a JSON string. (Inherited from Control.)

 See Also