@fluid-topics/ft-text-field
v1.1.99
Published
A fluidtopics text field
Downloads
2,467
Readme
A text input component.
Install
npm install @fluid-topics/ft-text-field
yarn add @fluid-topics/ft-text-field
Usage
import {html} from "lit"
import "@fluid-topics/ft-text-field"
function render() {
return html`
<ft-text-field label="Label"
value="Value"
@change=${(e: CustomEvent) => console.log("Value changed:", e.detail)}
@live-change=${(e: CustomEvent) => console.log("Value live changed:", e.detail)}>
</ft-text-field>
`
}