Adds the specified control to the collection of controls.
Namespace: MindFusion.Scheduling
File: BaseForm.js
JavaScript Copy Code |
---|
function addControl (control) |
Object. The control to add.
The following code adds a new text area to a custom form. The custom form is represented by a class that extends BaseForm:
JavaScript Copy Code |
---|
drawContent() { // create a text-area for the item subject |