Webinar Tagline
The `webinarTagline` component is responsible for displaying the tagline of a specific webinar, fetched dynamically based on a `webinarRegistrationId` provided in the route parameters. It is designed to be initialized on a DOM element and will update the element’s text content with the webinar’s tagline.
Props
Route Params
webinarRegistrationId - The unique identifier for the webinar registration. Required.
Component Attributes
data-cc-component="webinarTagline" - Initializes the component
Custom Behavior
- Fetches webinar registration data based on `webinarRegistrationId` from URL
- Extracts the tagline from the webinar data
- Replaces the element's textContent with the webinar tagline
- Uses the `brandApiDomain` from the global config to retrieve webinar data
Example
No props example requires `webinarRegistrationId` in the url and a `tagline` on the webinar to function.
{webinar tagline goes here}
Styling notes
This component is styled by the parent element.