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:4px
Built with love!