Gets or sets the text which is displayed in the header of the form.
Namespace: MindFusion.Scheduling
File: BaseForm.js
JavaScript Copy Code |
---|
get headerText() {} |
A String that renders as a header for the BaseForm.
The following code extends BaseForm to create a custom form used for appointment entries. The code uses the headerText property to specify guiding text or the header of the new form:
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; class CustomForm extends p.BaseForm { constructor(calendar, item, type) { this.colors = [{ value: 0, text: "white" }, { value: 1, text: "green" }, { value: 2, text: "red" }, { value: 3, text: "violet" }]; |