Input
cf-input
Input component is based on Angular Material input and has such extended options:
prefix;
suffix;
icon;
menu;
notification.
Usage
app.html
app.ts
app.scss
Input properties
Attr
Type
Details
type
string
It is the type of the input. Default: text.
placeholder
string
It is the placeholder of the input
hint
object
Message to be shown under input field
text
string
Text for hint
align
string
Hint text alignment. Can be: start or end. Default: start.
prefix
string
It is the prefix of the input
suffix
string
It is the suffix of the input
dividerColor
string
It is the deviderColor of the input
value
any
It is the value of the input
maxlength
number
It is input maxlength
iconProperty
IconModel
It is the icon object on the input
menu
MenuModel
The menu object on the input
Input styling properties
Attr
Type
Dateils
container
StylingModel
Styling for the input container
input
StylingModel
Styling for the input itself
hint
StylingModel
Styling for the hint
iconStyling
IconStylingModel
Styling for the icon
menuStyling
MenuStylingModel
Styling for the menu
Input output properties
Attr
Details
valueChange
The event that will be called when the value is changed
Last updated