React
React
new React(player, configopt, key)
Creates an instance of the React plugin.
Parameters
Name | Type | Attributes | Description |
---|---|---|---|
player |
akamai.amp.Player | The player instance |
|
config |
akamai.amp.react.ReactConfig | Object |
<optional> |
The configuration override object, or JSON string. Must adhear to the akamai.amp.react.ReactConfig interface. |
key |
string | The plugin identifier. |
Members
ads
:HTMLElement
A reference to the ad DOM element
components
:Object
A map of the UI's components.