diff --git a/src/app/showcase/doc/tooltip/basicdoc.ts b/src/app/showcase/doc/tooltip/basicdoc.ts deleted file mode 100644 index f8cca0058c1..00000000000 --- a/src/app/showcase/doc/tooltip/basicdoc.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { Component } from '@angular/core'; -import { Code } from '@domain/code'; - -@Component({ - selector: 'basic-doc', - template: ` - -

Tooltip is applied to an element with pTooltip directive where the value of the directive defines the text to display.

-
-
- -
- - ` -}) -export class BasicDoc { - code: Code = { - basic: ``, - - html: ` -
- -
`, - - typescript: ` -import { Component } from '@angular/core'; - -@Component({ - selector: 'tooltip-basic-demo', - templateUrl: './tooltip-basic-demo.html' -}) -export class TooltipBasicDemo {}` - }; -} diff --git a/src/app/showcase/doc/tooltip/tooltipdoc.module.ts b/src/app/showcase/doc/tooltip/tooltipdoc.module.ts index f570b2b61f4..feee13b7683 100644 --- a/src/app/showcase/doc/tooltip/tooltipdoc.module.ts +++ b/src/app/showcase/doc/tooltip/tooltipdoc.module.ts @@ -6,7 +6,6 @@ import { ButtonModule } from 'primeng/button'; import { InputTextModule } from 'primeng/inputtext'; import { AppDocModule } from '@layout/doc/app.doc.module'; import { AppCodeModule } from '@layout/doc/app.code.component'; -import { BasicDoc } from './basicdoc'; import { ImportDoc } from './importdoc'; import { StyleDoc } from './styledoc'; import { PositionDoc } from './positiondoc'; @@ -19,7 +18,7 @@ import { CustomDoc } from './customdoc'; @NgModule({ imports: [CommonModule, AppCodeModule, RouterModule, TooltipModule, ButtonModule, InputTextModule, AppDocModule], - declarations: [BasicDoc, ImportDoc, StyleDoc, PositionDoc, EventDoc, AutoHideDoc, DelayDoc, CustomDoc, OptionsDoc, AccessibilityDoc], + declarations: [ImportDoc, StyleDoc, PositionDoc, EventDoc, AutoHideDoc, DelayDoc, CustomDoc, OptionsDoc, AccessibilityDoc], exports: [AppDocModule] }) export class TooltipDocModule {} diff --git a/src/app/showcase/pages/tooltip/tooltipdemo.ts b/src/app/showcase/pages/tooltip/tooltipdemo.ts index 0aa9c50722c..805a41cd88a 100755 --- a/src/app/showcase/pages/tooltip/tooltipdemo.ts +++ b/src/app/showcase/pages/tooltip/tooltipdemo.ts @@ -1,5 +1,4 @@ import { Component } from '@angular/core'; -import { BasicDoc } from '@doc/tooltip/basicdoc'; import { ImportDoc } from '@doc/tooltip/importdoc'; import { StyleDoc } from '@doc/tooltip/styledoc'; import { PositionDoc } from '@doc/tooltip/positiondoc';