Initializes a new instance of the Control class.
Namespace: MindFusion.Common
File: Control.js
JavaScript Copy Code |
---|
function Control ([element]) |
HTMLElement. The control's associated Dom element.
The following code creates a new instance of the ListView control, which inherits the Control class. Note that the constructor uses a DOM element with an id listView:
JavaScript Copy Code |
---|
var ui = MindFusion.UI; var listView; document.addEventListener("DOMContentLoaded", function () |