setCollapsibleBannerOptions

Overview

Sets collapsible banner options for given placement.

Syntax

setCollapsibleBannerOptions(placementName, collapsibleBannerOptions)

placementName (REQUIRED)

string Unique name of placement. The same name will be used in gravite.net account.

collapsibleBannerOptions (REQUIRED)

The JSON object containing options. Set parameters listed below, otherwise AATKit uses default values.

int minDelayInSeconds

string position

top
bottom

Examples

AATKitCordova.setCollapsibleBannerOptions("stickyBanner", {
    "position": "bottom",
 "minDelayInSeconds": 10
});

Last updated