$.char.random
Random method of char helpers
This random helper can be use for generating random password, unique ID, custom color, and so on. Random method only have 2 arguments, the length of character and the type of character (only accept long
, short
, narrow
, hex
and number
type).
Also, we provide real world application example like this show/hide password generator that use Petite-Vue and this random method.
Visit this link: https://codepen.io/tedirghazali/pen/GRmyqKB
Last updated
Was this helpful?