Skip to content

Commit af9adb0

Browse files
The README updates
1 parent 8698aa7 commit af9adb0

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ Preview
99

1010
![](https://github.com/AlexMiniApps/angular-code-input/blob/master/preview2.gif)
1111

12+
## Supported platforms
13+
14+
<b>Angular</b> 7, 8, 9 +<br />
15+
<b>Ionic</b> 4, 5 +<br />
16+
Mobile browsers and WebViews on: <b>Android and iOS</b><br />
17+
Desktop browsers: <b>Chrome, Firefox, Safari, Edge v.79 +</b><br />
18+
Other browsers: <b>Edge v.41 - 44</b> (without code hidden feature)
19+
1220
## Installation
1321

1422
$ npm install --save angular-code-input
@@ -97,9 +105,16 @@ Example with only bottom borders:
97105

98106
#### Component options
99107

100-
`codeLength: number` - length of input code <br />
101-
`isCodeHidden: boolean` - when `true` inputted code chars will be shown as asterisks (points)<br />
102-
`isNonDigitsCode: boolean` - when `true` inputted code can contain any char and not only digits from 0 to 9 <br />
108+
<b>`codeLength: number`</b> - length of input code <br />
109+
<b>`isCodeHidden: boolean`</b> - when `true` inputted code chars will be shown as asterisks (points)<br />
110+
<b>`isNonDigitsCode: boolean`</b> - when `true` inputted code can contain any char and not only digits from 0 to 9.
111+
If the input parameter <b>`code`</b> contains non digits chars and `isNonDigitsCode` is `false` the value will be ignored<br />
112+
<b>`isPrevFocusableAfterClearing: boolean`</b> - when `true` after the input value deletion the caret will be moved
113+
to the previous input immediately. If `false` then after the input value deletion the caret will
114+
stay on the current input and be moved to the previous input only if the current input is empty<br />
115+
<b>`inputType: string`</b> - type of the input DOM elements like `<input [type]="inputType"/>` default '`tel'`<br />
116+
<b>`code: string | number`</b> - the input code value for the component. If the parameter
117+
contains non digits chars and `isNonDigitsCode` is `false` the value will be <b>ignored</b> <br />
103118

104119
#### Events
105120

0 commit comments

Comments
 (0)