@synbee-webcomponents/sw-input-text
v2.0.18
Published
sw-input-text is a web-component from Synbee Webcomponents Library, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.
Downloads
44
Keywords
Readme
sw-input-text
Properties
| Property | Attribute | Description | Type | Default |
| ----------------- | ------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------- |
| maxLength | max-length | | number | 100 |
| placeholderText | placeholder-text | | string | undefined |
| status | status | | States.create \| States.edit \| States.view | States.create |
| type | type | | string | "text" |
| typography | typography | | "action" \| "caption" \| "code" \| "detail" \| "h1" \| "h2" \| "h3" \| "h4" \| "h5" \| "h6" \| "hack" \| "label" \| "option" \| "paragraph" \| "tip" | 'h6' |
| value | value | | string | undefined |
Events
| Event | Description | Type |
| ------------ | ----------- | --------------------- |
| updateText | | CustomEvent<string> |
Dependencies
Used by
Depends on
- mds-text
Graph
graph TD;
sw-input-text --> mds-text
sw-action-header --> sw-input-text
sw-checklist-item --> sw-input-text
style sw-input-text fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love!
