File

projects/m2-core/src/lib/core/utils/window.utils.ts

Index

Methods

Methods

Static checkNotificationPermission
checkNotificationPermission()
Returns : void
Static emitBodyClickEvent
emitBodyClickEvent(delay?: number)
Parameters :
Name Type Optional
delay number Yes
Returns : void
Static emitResizeEvent
emitResizeEvent(delay?: number)
Parameters :
Name Type Optional
delay number Yes
Returns : void
Static getOpenerSDI
getOpenerSDI()
Returns : any
Static getSDI
getSDI()

Global object function

Returns : any
Static getWindowNestingLevel
getWindowNestingLevel()
Returns : number
Static isEmbeddedWindow
isEmbeddedWindow()
Returns : boolean
Static showNotification
showNotification(title: string, body: string, onClickUrl?: string)

Native notifications

Parameters :
Name Type Optional
title string No
body string No
onClickUrl string Yes
Returns : void

results matching ""

    No results matching ""