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) |
HTMLDivElement. The DOM element that the ruler should be attached to.
A Ruler object that represents the newly created ruler.
NetDiagram Programmer's Guide | © 2023 MindFusion |