WmmNotification.js
Methods
(element, html, inside)#
addNotificationToThis is a simple UI component for showing notifications of the monetization state. You can modify this component or replace it with your own UI component to give notifications that suit better the style of your application. This notification is positioned on top of the media element in case of video and audio components, and *inside*, at the bottom of the component in case of text.
Parameters:
Name | Type | Description |
---|---|---|
element | Element | the component in which the notification is attached. |
html | string | the notification HTML that is shown. |
inside | boolean | adds notification inside the element as its last child. |
- Source: