Class AccordionClientSideEventsBuilder
Represents the Accordion client side events.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class AccordionClientSideEventsBuilder
Constructors
AccordionClientSideEventsBuilder(AccordionProperties)
Initializes a new instance of the AccordionClientSideEventsBuilder class.
Declaration
public AccordionClientSideEventsBuilder(AccordionProperties accordionProp)
Parameters
Type | Name | Description |
---|---|---|
AccordionProperties | accordionProp |
Methods
Activate(String)
Triggered after a Accordion item is active or inactive. Argument values are activeIndex, activeHeader, inActiveHeader, inActiveIndex and current model value.
Declaration
public AccordionClientSideEventsBuilder Activate(string activate)
Parameters
Type | Name | Description |
---|---|---|
System.String | activate | Activate event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the Activate event handler and returns the Accordion object |
AjaxBeforeLoad(String)
Triggered before the AJAX content is loaded in a content panel. Arguments have location of the content (URL) and current model value.
Declaration
public AccordionClientSideEventsBuilder AjaxBeforeLoad(string ajaxBeforeLoad)
Parameters
Type | Name | Description |
---|---|---|
System.String | ajaxBeforeLoad | AjaxBeforeLoad event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the AjaxBeforeLoad event handler and returns the Accordion object |
AjaxError(String)
Triggered after AJAX load failed action. Arguments have URL, error message, and current model value.
Declaration
public AccordionClientSideEventsBuilder AjaxError(string ajaxError)
Parameters
Type | Name | Description |
---|---|---|
System.String | ajaxError | AjaxError event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the AjaxError event handler and returns the Accordion object |
AjaxLoad(String)
Triggered after the AJAX content loads. Arguments have current model values.
Declaration
public AccordionClientSideEventsBuilder AjaxLoad(string ajaxLoad)
Parameters
Type | Name | Description |
---|---|---|
System.String | ajaxLoad | AjaxLoad event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the AjaxLoad event handler and returns the Accordion object |
AjaxSuccess(String)
Triggered after AJAX success action. Arguments have URL, content, and current model values.
Declaration
public AccordionClientSideEventsBuilder AjaxSuccess(string ajaxSuccess)
Parameters
Type | Name | Description |
---|---|---|
System.String | ajaxSuccess | AjaxSuccess event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the AjaxSuccess event handler and returns the Accordion object |
BeforeActivate(String)
Triggered before a tab item is active. Arguments have active index and model values.
Declaration
public AccordionClientSideEventsBuilder BeforeActivate(string beforeActivate)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforeActivate | BeforeActivate event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the BeforeActivate event handler and returns the Accordion object |
BeforeInActivate(String)
Triggered before a Accordion item is inactive. Argument values are inActiveIndex and model values.
Declaration
public AccordionClientSideEventsBuilder BeforeInActivate(string beforeInactivate)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforeInactivate | BeforeInActivate event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the BeforeInActivate event handler and returns the Accordion object |
Create(String)
Triggered after Accordion control creation.
Declaration
public AccordionClientSideEventsBuilder Create(string create)
Parameters
Type | Name | Description |
---|---|---|
System.String | create | Create event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the Create event handler and returns the Accordion object |
Destroy(String)
Triggered after Accordion control destroy.
Declaration
public AccordionClientSideEventsBuilder Destroy(string destroy)
Parameters
Type | Name | Description |
---|---|---|
System.String | destroy | Destroy event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the Destroy event handler and returns the Accordion object |
InActivate(String)
Triggered after a Accordion item is inactive. Argument values are inActiveHeader, inActiveIndex ,isInteraction and current model values.
Declaration
public AccordionClientSideEventsBuilder InActivate(string inActivate)
Parameters
Type | Name | Description |
---|---|---|
System.String | inActivate | InActivate event handler |
Returns
Type | Description |
---|---|
AccordionClientSideEventsBuilder | Sets the InActivate event handler and returns the Accordion object |