DEV Community

Mahmoud shahin
Mahmoud shahin

Posted on • Updated on

Ngx Popover

I finished a new tool and i want your opionon about the tool and please support me by share with me any new ideas or features you want me add to the tool to be fit for your work more thanks.
let's start.

Installation
You can use either the npm command-line tool to install packages.

NPM
npm i ngx-cxl-popover

Usage ⁉
import NgxCxlPopoverModule module
@NgModule({
imports: [
/* .... /
NgxCxlPopoverModule
/
.... */
],
})

1- add directive ngxCxlPopover on the element.
2- write your awesome title popoverTitle.
3- write your awesome content popoverContent.

Hello

if you want use customized templates for the title and content then let's go to the next level 👍

Advanced
Custom Templates
<h1
ngxCxlPopover
popoverTitle="Hello"
popoverContent="👋"
[titleTemplate]="titleTemplate"
[contentTemplate]="contentTemplate"

Hello

Contribution
I welcome you to fork and add more features into it. If you have any bugs or feature request, please create an issue at github repository.

Discussion (0)