Adds the specified control to the collection of controls.
Namespace: MindFusion.Scheduling
Assembly: BaseForm.js
SyntaxJavaScript
Copy Code
|
|---|
function addControl (control) |
Object. The control to add.
ExampleThe 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 |
See Also