ngx-ellipsis-tooltip
v0.0.4
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.5.
Downloads
6
Readme
NgxEllipsisTooltip
This library was generated with Angular CLI version 11.2.5.
Build
Run ng build ngx-ellipsis-tooltip
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build ngx-ellipsis-tooltip
, go to the dist folder cd dist/ngx-ellipsis-tooltip
and run npm publish
.
Running unit tests
Run ng test ngx-ellipsis-tooltip
to execute the unit tests via Karma.
Angular Ellipsis Material Tooltip
For responsive applications, the use of ellispis for long content can be necessary. When we want to go further and display the Angular material tooltip when the ellipsis are displayed.
Add the module
@NgModule({
declarations: [
...,
],
imports: [
...,
EllipsisTooltipModule,
],
})
<app-ellipsis-tooltip></app-ellipsis-tooltip>
| @ Input | Description | Type | Requested | | :------------ | :------------ | :------------ | :------------ | | content | text to display | string | True |