Give popovers a contextual flair.
Name | Description |
---|---|
Default content. |
Property | Description |
---|---|
--popover-card-arrow-fill |
Fill of the arrow |
--popover-card-arrow-height |
Height of the arrow |
--popover-card-arrow-width |
Width of the arrow |
--popover-card-elevation |
Box shadow |
Go here to try the demo.
To figure out where the arrow should be pointing, the wl-popover-card
uses :host-context
. Make sure the card is within a context where the attributes transformOriginX="left | center | right"
and transformOriginY="top | center | bottom"
are defined.
Andreas Mehlsen | You? |
Licensed under MIT.