An event that fires when data about link exposures on a page is available. This event can fire multiple times for one page, as link exposures occur and the URLs for those links are resolved.
- Source:
Methods
(static) addListener(listener, options)
Add a listener for the onLinkExposureUpdate
event.
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
listener |
linkExposureUpdateListener | The listener to add. |
||||||||||||||||||||
options |
Object | Options for the listener. Properties
|
- Source:
(static) hasAnyListeners() → {boolean}
Whether the onLinkExposureUpdate
event has any listeners.
- Source:
Returns:
Whether the event has any listeners.
- Type
- boolean
(static) hasListener(listener) → {boolean}
Whether a specified listener has been added for the onLinkExposureUpdate
event.
Parameters:
Name | Type | Description |
---|---|---|
listener |
linkExposureUpdateListener | The listener to check. |
- Source:
Returns:
Whether the listener has been added for the event.
- Type
- boolean
(static) removeListener(listener)
Remove a listener for the onLinkExposureUpdate
event.
Parameters:
Name | Type | Description |
---|---|---|
listener |
linkExposureUpdateListener | The listener to remove. |
- Source:
Type Definitions
linkExposureUpdateListener(details)
A listener for the onLinkExposureUpdate
event.
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
details |
Object | Additional information about the link exposure update event. Properties
|
- Source: