Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
disabled | Boolean | false | ||||||
Gets or sets whether the widget is disabled. Code example
Initialize a jqxPasswordInput with the
Try it: disabled is set to true
|
||||||||
height | Number/String | "auto" | ||||||
Gets or sets the widget's height. The value may be "auto", a number or a string like "Npx", where N is a number. Code example
Initialize a jqxPasswordInput with the
Try it: height is set to '25px'
|
||||||||
localization | Object | |||||||
Sets the various text values used in the widget. Useful for localization. Default value:
Code example
Initialize a jqxPasswordInput with the
|
||||||||
maxLength | Number | null | ||||||
Gets or sets the maximal number of characters in the password. Code example
Initialize a jqxPasswordInput with the
Try it: maxLength is set to 7
|
||||||||
placeHolder | String | null | ||||||
Gets or sets the password input's placeholder text. Code example
Initialize the widget with the
|
||||||||
passwordStrength | Function | null | ||||||
(Requires jqxtooltip.js.) A callback function for defining a custom strength rule. The function has three parameters:
Note: The property Code example
Initialize a jqxPasswordInput with the
|
||||||||
rtl | Boolean | false | ||||||
Determines whether the right-to-left support is enabled. Code example
Initialize a jqxPasswordInput with the
Try it: rtl is set to true
|
||||||||
strengthColors | Object | |||||||
Sets the the colors used in the tooltip which shows the strength. Default value:
Code example
Initialize a jqxPasswordInput with the
|
||||||||
showStrength | Boolean | true | ||||||
(Requires jqxtooltip.js.) Gets or sets whether a tooltip which shows the password's strength will be shown. Code example
Initialize a jqxPasswordInput with the
Try it: showStrength is set to false
|
||||||||
showStrengthPosition | String | "right" | ||||||
(Requires jqxtooltip.js.)
Gets or sets the position of the tooltip which shows the password strength.
Note: The property Code example
Initialize a jqxNavigationBar with the
|
||||||||
strengthTypeRenderer | Function | null | ||||||
(Requires jqxtooltip.js.) A callback function for custom rendering of the tooltip which shows the password strength. The function has three parameters:
Note: The property Code example
Initialize a jqxPasswordInput with the
|
||||||||
showPasswordIcon | Boolean | true | ||||||
Gets or sets whether the Show/Hide password icon will appear. Code example
Initialize a jqxPasswordInput with the
Try it: showPasswordIcon is set to false
|
||||||||
theme | String | '' | ||||||
Sets the widget's theme. jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file. In order to set a theme, you need to do the following:
Try it: theme is set to 'energyblue'
|
||||||||
width | Number/String | "auto" | ||||||
Gets or sets the widget's width. The value may be "auto", a number or a string like "Npx", where N is a number. Code example
Initialize a jqxPasswordInput with the
Try it: width is set to '250px'
|
||||||||
Events |
||||||||
change | Event | |||||||
This event is triggered when the value in the input is changed. Code exampleBind to the change event by type: jqxPasswordInput.
|
||||||||
Methods |
||||||||
render | Method | |||||||
Renders the widget.
None Code example
Invoke the
Try it: renders the jqxPasswordInput.
|
||||||||
refresh | Method | |||||||
Refreshes the widget.
None Code example
Invoke the
Try it: refresh the jqxPasswordInput.
|
||||||||
val | Method | |||||||
Gets or sets the password. If the parameter is set, sets the value of the password in the input. If there is no parameter set, returns the string value of the password.
String Code example
Invoke the
or
|