1.2.27 • Published 6 months ago
@fluid-topics/ft-popover v1.2.27
A popover component.
Install
npm install @fluid-topics/ftds-popover
yarn add @fluid-topics/ftds-popoverUsage
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
6 months ago
1.2.26
6 months ago
1.2.25
6 months ago
1.2.24
6 months ago
1.2.23
7 months ago
1.2.22
7 months ago
1.2.21
7 months ago
1.2.20
7 months ago
1.2.19
7 months ago
1.2.17
7 months ago
1.2.16
8 months ago
1.2.15
8 months ago
1.2.14
8 months ago
1.2.13
8 months ago
1.2.12
8 months ago
1.2.11
8 months ago
1.2.10
8 months ago
1.2.9
8 months ago
1.2.8
9 months ago
1.2.7
9 months ago
1.2.6
9 months ago
1.2.5
9 months ago
1.2.4
9 months ago
1.2.3
9 months ago
1.2.2
9 months ago
1.2.1
9 months ago
1.2.0
10 months ago
1.1.121
10 months ago
1.1.120
10 months ago
1.1.119
10 months ago
1.1.118
10 months ago
1.1.117
10 months ago
1.1.116
10 months ago
1.1.115
10 months ago