angular-content-portal
A simple library that uses the @angular/cdk library to give a quick way of portaling(?) content outside of your component.
Requirements
- Angular 9+
Demo
Installation
To install this library, run:
$ npm install angular-content-portal --save
Using angular-content-portal
From your Angular AppModule
:
;; ; ;
<!-- You can now use your library component in app.component.html -->
then
<!-- You can now use your library component in user/create-user.component.html --> Add user
License
MIT © John Cashmore