20190929 vue related
view-ref
ref are used to reference elements or subassemblies registration information. Reference information will be registered on the $ refs object's parent component.
html5-autocomplete
autocomplete attribute specifies whether the input field should enable auto-completion.
Allow the browser to automatically predict input field. When a user starts typing in the field, the browser-based typed before the value, should show the option to fill in the field.
NOTE: autocomplete property applies to the <form>, and the following <input> Type: text, search, url, telephone, email, password, datepickers, range and color.
Tip: In some browsers, you may need to manually enable auto-completion.
/** Removes the leading and trailing white space and line terminator characters from a string. */
/ ** Delete leading and trailing spaces from a string and line terminator. * /
trim(): string;
required: true, trigger: 'blur', validator: validateUsername
Required: true, trigger: 'blur', the verifier: validateUsername