Wie Eingabewerte zu empfangen und print auf die Konsole?

Ich würde gerne print in der Konsole.protokollieren Sie die Werte, um die Eingabe von Benutzername und Passwort einzugeben. Siehe meine form:

<form>
    <ion-list>

        <ion-item>
            <ion-label fixed>Username</ion-label>
            <ion-input type="text"></ion-input>
        </ion-item>

        <ion-item>
            <ion-label fixed>Password</ion-label>
            <ion-input type="password"></ion-input>
        </ion-item>    

        <button ion-button color="secondary" clear full style="font-style: bold; text-align: center;">Forgot Password?</button>

        <button ion-button color="secondary" type="submit" full>Login</button>

    </ion-list>
</form>

Gewusst wie: abrufen von Eingabe-und Druck-Werte in der Konsole neben der Klick auf den login-button?

InformationsquelleAutor viana | 2017-02-05
Schreibe einen Kommentar