Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

wired-textarea

v1.0.0arrow_drop_down
v1.0.0
v0.9.2
STATUS
Passing
DOWNLOADS
14
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
6 months ago
SIZE
12 KB
Hand-drawn sketchy multi-line text input web component.
1 contributor
Use wired-textarea in your project ?
Copied
npm i @bit/wiredjs.wired-elements.wired-textarea
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
chevron_left
chevron_right

wired-textarea

Hand-drawn sketchy multi-line text input web component.

For demo and view the complete set of wired-elememts: wiredjs.com

Usage

Add wired-textarea to your project:

npm i wired-textarea

Import wired-textarea definition into your HTML page:

<script type="module" src="wired-textarea/lib/wired-textarea.js"></script>

Or into your module script:

import { WiredTextarea } from "wired-textarea"

Use it in your web page:

<wired-textarea placeholder="Enter text" rows="6"></wired-textarea>

Properties

rows - Initial number of rows in textarea.

maxrows - Max number of rows textarea grows to. Then scrollbars appear.

value - Text value.

disabled - Disabled the control.

placeholder - Placeholder text for the input.

Events

Fires all the events the native <textarea> element fires

wired textarea

License

MIT License © Preet Shihn