Class: Banner
Class that represents a banner in MapVX. Contains information about the image, tags, and banner behavior.
Constructors
Constructor
new Banner(rawBanner): Banner;Creates a new banner instance from API response data
Parameters
rawBanner
BannerResponse
API response data containing banner information
Returns
Banner
Properties
description?
optional description: string;A description of the banner.
Can contain html tags.
sameLink
sameLink: booleanIndicates if the banner should open in the same window or a new one
tags
tags: string[];List of tags associated with the banner for filtering
url
url: stringURL of the banner image
urlAction
urlAction: stringAction URL to redirect to when clicking on the banner
Last updated on