Light Mode
Advertisement
The <salla-advertisement>
web component allows you to displays Advertisement items such as icons, URLs, target, description, with the ability to edit the Advertisement background and text color.## Example
Usage
<salla-advertisement slot="icon"></salla-advertisement>
This JS web component can be targeted for styling by its :host
class. Following is a complete source code for customizing this component:
:host {
display: block;
}
Slots
Theslots
makes it customizable to modify certain labels, such as adv
.
Slot | Description |
---|---|
adv |
Replaces the advertisment component with any of the following slots: {icon} , {url} , {target} , {description} , {bg_color} , and {text_color} . |
Last modified: 4 months ago
Usage
Slots