Nativescript UI Material Components
    Preparing search index...
    interface LoginOptions {
        autoFocus?: boolean;
        beforeShow?: (
            options: LoginOptions & MDCAlertControlerOptions,
            usernameTextField: TextField,
            passwordTextField: TextField,
        ) => void;
        passwordHint?: string;
        passwordTextFieldProperties?: Partial<TextFieldProperties>;
        userNameHint?: string;
        usernameTextFieldProperties?: Partial<TextFieldProperties>;
    }

    Hierarchy

    • LoginOptions
      • LoginOptions
    Index

    Properties

    autoFocus?: boolean
    beforeShow?: (
        options: LoginOptions & MDCAlertControlerOptions,
        usernameTextField: TextField,
        passwordTextField: TextField,
    ) => void

    Optional function to choose if you can validate or not

    passwordHint?: string

    Gets or sets the default text to display as hint in the password input box.

    passwordTextFieldProperties?: Partial<TextFieldProperties>

    Optional object to set any property to the username textfield!

    userNameHint?: string

    Gets or sets the default text to display as hint in the user name input box.

    usernameTextFieldProperties?: Partial<TextFieldProperties>

    Optional object to set any property to the username textfield!