README
cover-modal
An Angular module providing full-size covering modals with a low-level API.
Installation
You need to have a valid SSH key installed and the ECDSA must be added to known hosts to install via NPM.
$ npm i --save git+ssh://git@gitlab.digitronic.net:prod/common/npm/libs/cover-modal.git
Usage
To use this package, install it using NPM and add it to the imports
in your apps app.module.ts
.
After that, you can use the component lib-cover-modal
. The content of this component defines the content of the
modal shown. You can also specify a property title
which will show the passed text in the header of the modal.
With the property show
you can set the visibility of the modal and you can specify an id
to access it via the
CoverModalService
.
This implementation provides a low level API, which allows direct access to the components of the modal. Here you can find an example of an example implementation:
https://gitlab.digitronic.net/prod/common/npm/sources/cover-modal/-/tree/master/src/app
Sources
https://gitlab.digitronic.net/prod/common/npm/sources/cover-modal