Nativescript UI Material Components
    Preparing search index...
    • The login() method displays a login dialog box that prompts the visitor for user name and password.

      Parameters

      • message: string

        The text to display in the dialog box.

      • OptionaluserName: string

        The default text to display in the user name input box. Optional.

      • Optionalpassword: string

        The default text to display in the password input box. Optional.

      Returns Promise<LoginResult>

    • The login() method displays a login dialog box that prompts the visitor for user name and password.

      Parameters

      Returns Promise<LoginResult>