@fluid-topics/ft-text-field
TypeScript icon, indicating that this package has built-in type declarations

1.1.41 • Public • Published

A text field 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>
           `
}

Readme

Keywords

Package Sidebar

Install

npm i @fluid-topics/ft-text-field

Weekly Downloads

303

Version

1.1.41

License

ISC

Unpacked Size

319 kB

Total Files

18

Last publish

Collaborators

  • antidot
  • mike.antidot