Creates and initializes a new LinearGauge from the specified element. This method is static and can be called without creating an instance of the class.
Namespace: MindFusion.Gauges
File: LinearGauge.js
JavaScript Copy Code |
---|
function create (element, [ignoreMouseEvents]) |
Type: Object
Object. The DOM element that the LinearGauge should be attached to.
Type: Boolean
Boolean. Optional.
Type: LinearGauge
LinearGauge. A LinearGauge object that represents the newly created gauge.