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.
Demo: https://wandri.github.io/angular-ellipsis-tooltip/.
Add the module
@NgModule({
declarations: [
...,
],
imports: [
...,
NgxEllipsisTooltipModule,
],
})
@ Input | Description | Type | Requested |
---|---|---|---|
text | text to display | string | True |
smartCut | move the ellipsis inside the text and not at the end | boolean | False (default = true) |