Represents the RecurrenceEditor component.
<div id="recurrence"></div>
<script>
var recObj = new RecurrenceEditor();
recObj.appendTo("#recurrence");
</script>
Sets the specific calendar type to be applied on recurrence editor.
Defaults to ‘Gregorian’
string
Allows styling with custom class names.
Defaults to null
string
Sets the user specific date format on recurrence editor.
Defaults to null
boolean
Enable or disable persisting component’s state between page reloads.
Defaults to false
boolean
Enable or disable rendering component in right to left direction.
Defaults to false
Sets the type of recurrence end for the recurrence pattern on the editor.
Defaults to [‘never’, ‘until’, ‘count’]
number
Sets the first day of the week.
Defaults to 0
Sets the recurrence pattern on the editor.
Defaults to [‘none’, ‘daily’, ‘weekly’, ‘monthly’, ‘yearly’]
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Defaults to ”
Date
Sets the maximum date on recurrence editor.
Defaults to new Date(2099, 11, 31)
Date
Sets the minimum date on recurrence editor.
Defaults to new Date(1900, 0, 1)
number
Sets the current repeat type to be set on the recurrence editor.
Defaults to 0
Date
Sets the start date on recurrence editor.
Defaults to new Date()
string
Sets the recurrence rule as its output values.
Defaults to null
Adds the handler to the given event listener.
Parameter | Type | Description |
---|---|---|
eventName | string |
A String that specifies the name of the event |
handler | Function |
Specifies the call to run when the event occurs. |
Returns void
Appends the control within the given HTML element
Parameter | Type | Description |
---|---|---|
selector (optional) | string | HTMLElement |
Target element where control needs to be appended |
Returns void
Adding unload event to persist data when enable persistence true
Returns void
When invoked, applies the pending property changes immediately to the component.
Returns void
Destroys the widget.
Returns void
Removing unload event to persist data when enable persistence true
Returns void
Returns the persistence data for component
Returns any
Get the properties to be maintained in the persisted state.
Returns string
Returns the route element of the component
Returns HTMLElement
Handling unload event to persist data when enable persistence true
Returns void
Applies all the pending property changes and render the component again.
Returns void
Removes the handler from the given event listener.
Parameter | Type | Description |
---|---|---|
eventName | string |
A String that specifies the name of the event to remove |
handler | Function |
Specifies the function to remove |
Returns void
Dynamically injects the required modules to the component.
Parameter | Type | Description |
---|---|---|
moduleList | Function[] |
? |
Returns void
EmitType<RecurrenceEditorChangeEventArgs>
Triggers for value changes on every sub-controls rendered within the recurrence editor.