1.0.7 • Published 7 years ago

basiclogin v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

What does this package do? Provides a basic login component with a e-mail and password. When the login button is clicked, a message is displayed.

  • Default message is "You logged in as EMAIL

How to use this package

  • Install the package with npm install basiclogin
  • Import the module and declare it as import in your module import { BasicLoginModule } from 'basiclogin'; imports: [ BasicLoginModule ]

  • OPTIONAL: import the MessageService ... import { MessageService } from 'basiclogin';

  • ... to inject it and change the displayed message constructor(private msgService: MessageService) { this.msgService.setMessage('This should be displayed instead of the default'); }

  • Get the message from the MessageService msgService.getMessage()

Have fun!

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago