Files
alfresco-ng2-components/docs/core/services/login-dialog.service.md
Andy Stark 5fc05da7aa [ADF-4152] Updated folder structure of core docs (#4415)
* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Manual fixes to core doc file links

* [ADF-4152] Further automatic + manual link tidying
2019-03-12 14:20:20 +00:00

1.1 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Login Dialog service v2.6.0 Active 2019-02-08

Login Dialog service

Manages login dialogs.

Methods

  • openLogin(actionName: string, title: string): Observable<string>
    Opens a login dialog.
    • actionName: string - Text to show in the main action button
    • title: string - Title for the login dialog
    • Returns Observable<string> - Confirmation of login from the dialog
  • close(): <void>
    Closes the currently open login dialog.

Details

Use the methods of this service to manage login dialogs from code. As an alternative, you may find it easier to use the Login dialog component to display the dialog directly from HTML.

See also