character([character])

Class: PasswordField.

Description:

Sets/Gets a Unicode character to use for masking real characters.

Some disk characters to try:
const myChar = '\u00B7';
const myChar = '\u2022';
const myChar = '\u25CF';
const myChar = '\u2B24';

Parameters:

Name Type Description

[character]

string

A one character string character. If the string has more than one character, only first one will be used.

Returns:

Returns an instance of this object when setting a value, otherwise current value is returned.

Type: PasswordField | string