Class: UiBanner

Initiators/UI.UiBanner(args)

new UiBanner(args)

Parameters:
Name Type Description
args Object

all arguments

Source:
Example
const uiBanner = new UiBanner({});

Methods

hideBanner()

hide banner function

Source:
Example
const uiBanner = new UiBanner({});
uiBanner.hideBanner();

run(tagManager)

run banner function

Parameters:
Name Type Description
tagManager Object

manager for dataLayer variable

Source:
Example
const uiBanner = new UiBanner({});
uiBanner.run();

showBanner()

show banner function

Source:
Example
const uiBanner = new UiBanner({});
uiBanner.showBanner();