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
File: 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.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |