Skip to content
To be or not to be
To be or not to be
To be or not to be Prince Hamlet To be or not to be
To be or not to be The famous quote from Hamlet To be or not to be
To be or not to be
Miaow, miaow, miaow
Quote - Web Component
The Quote component can be used imported from:
Playground
Parameters
...
Events
This component has events. Check the documentation about how to use the events.
Name | Payload | Description |
---|
Slots
This component has slots. Check the documentation about how to use the slots.
Name | Tags | Description |
---|---|---|
default | span | The quote content |
author-name | span | The name of the author |
description | span | The description of the quote |
Parameters use
content
The content
attribute is inject the main quote or using the default
slot:
quote-src
The quote-src
attribute is used to set the source of the quote.
author-name
The author-name
attribute is used to set the name of the author.
Or using the author-name
slot:
description
The description
attribute is used to set the description of the quote or using the description
slot:
Image
image-src
The image-src
attribute is used to set the image of the author.
You can also use the images from the Zurich media images. Make sure you specify correctly the name of the image you want to display.
it can also be customized via picture
slot:
Browser support
Detected engine:
Chromium
Webkit
Gecko