Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.05 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.05 KB

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.

Demo: https://wandri.github.io/angular-ellipsis-tooltip/.

demo tooltip

Add the module

@NgModule({
  declarations: [
    ...,
  ],
  imports: [
    ...,
    NgxEllipsisTooltipModule,
  ],
})

<ngx-ellipsis-tooltip></ngx-ellipsis-tooltip>

@ 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)