1.2.27 • Published 5 months ago
@fluid-topics/ft-popover v1.2.27
A popover component.
Install
npm install @fluid-topics/ftds-popover
yarn add @fluid-topics/ftds-popover
Usage
import { html } from "lit"
import { customElement, FtLitElement } from "@fluid-topics/ft-wc-utils";
import "@fluid-topics/ft-link"
import "@fluid-topics/ft-popover"
@customElement("my-element")
class MyElement extends FtLitElement {
render() {
return html`
<ftds-popover
heading="Popover heading"
?opened="false"
closeButtonLabel="close info"
openButtonLabel="more info"
openButtonTooltipPosition="bottom"
openButtonFamily="brand"
openButtonSize="medium"
@opened-changed=${ (e: CustomEvent<{
opened: boolean
}>) => console.log("opened changed ", e.detail) }
>
Exemple popover content
<ftds-link slot="link" href="" variant="body-2-medium" family="brand" underlined>Example popover link</ftds-link>
</ftds-popover>
`
}
}
1.2.27
5 months ago
1.2.26
5 months ago
1.2.25
5 months ago
1.2.24
5 months ago
1.2.23
5 months ago
1.2.22
5 months ago
1.2.21
5 months ago
1.2.20
5 months ago
1.2.19
6 months ago
1.2.17
6 months ago
1.2.16
6 months ago
1.2.15
6 months ago
1.2.14
6 months ago
1.2.13
6 months ago
1.2.12
7 months ago
1.2.11
7 months ago
1.2.10
7 months ago
1.2.9
7 months ago
1.2.8
7 months ago
1.2.7
7 months ago
1.2.6
7 months ago
1.2.5
7 months ago
1.2.4
7 months ago
1.2.3
8 months ago
1.2.2
8 months ago
1.2.1
8 months ago
1.2.0
8 months ago
1.1.121
8 months ago
1.1.120
8 months ago
1.1.119
8 months ago
1.1.118
8 months ago
1.1.117
9 months ago
1.1.116
9 months ago
1.1.115
9 months ago