new UiPopup(args)
Parameters:
Name | Type | Description |
---|---|---|
args |
Object | all arguments |
- Source:
Example
const uiPopup = new UiPopup({});
Methods
hideBanner(outTarget)
hide popup function
Parameters:
Name | Type | Description |
---|---|---|
outTarget |
boolean | object |
- Source:
Example
const uiPopup = new UiPopup({});
uiPopup.hidePopup();
outTarget(event)
outTarget popup click function
Parameters:
Name | Type | Description |
---|---|---|
event |
Object | jQuery Event |
- Source:
Example
const uiPopup = new UiPopup({});
$(document).on('click', uiPopup.outTarget);
run(banner, tagManager)
run popup function
Parameters:
Name | Type | Description |
---|---|---|
banner |
Object | object |
tagManager |
Object | object |
- Source:
Example
const uiPopup = new UiPopup({});
uiPopup.run();
showBanner()
show popup function
- Source:
Example
const uiPopup = new UiPopup({});
uiPopup.showPopup();