PRODUCT
Follow

Note

Note: To view the full list of events, see AdKit: Event Registration Methods.

adkit.onExpand(expandCB) Event

Description

Subscribes to the panel expand event.

Example

adkit.function({
    adkit.function(expandInfo {
        if(expandInfo && expandInfo.panelName === "panel_1") {
             // on expand code 
        }
    });
});        

Parameters

Name

Mandatory/Optional

Type

Description

adkit.onExpand(expandCB)

Mandatory

Function

Runs an event when the panel expands.

expandCB Function Parameters

Name

Mandatory/Optional

Type

Description

expandInfo

Mandatory

Object

Contains Expand action information.

expandinfo Object Parameters

Name

Mandatory/Optional

Type

Description

panelName

Mandatory

string

Name of the expanded panel.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk