tagExpandable
Tags a BrowserSDK:TaggableElement to be tracked as ExpandableContext.
tagExpandable = (parameters: {
id: string,
options?: TagLocationOptions,
onError?: TrackerErrorHandlerCallback
}) => TagLocationReturnValue
info
This attribute directive builds on top of BrowserSDK:tagExpandable
Parameters
type | default value | ||
---|---|---|---|
required | id | string | |
optional | options | BrowserSDK:TagLocationOptions | { trackVisibility: { mode: 'auto' } } |
optional | onError | BrowserSDK:TrackerErrorHandlerCallback | TrackerConsole.error |
Returns
BrowserSDK:TagLocationReturnValue
Events
Unless customized via the options
parameter, automatically triggers:
Usage example
<div [tagExpandable]="{ id: 'faq-item-id' }">
...
</div>