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.
Namespace: MindFusion.Diagramming
Package: Ruler.js
JavaScript Copy Code |
---|
function create (element) |
The DOM element that the ruler should be attached to.
Type: Ruler
A Ruler object that represents the newly created ruler.