diff --git a/src/app/components/inplace/inplace.ts b/src/app/components/inplace/inplace.ts index a2aa78ce7b9..083c1b47459 100644 --- a/src/app/components/inplace/inplace.ts +++ b/src/app/components/inplace/inplace.ts @@ -17,7 +17,7 @@ export class InplaceContent {} @Component({ selector: 'p-inplace', template: ` -
+
@@ -30,30 +30,30 @@ export class InplaceContent {} ` }) export class Inplace { - + @Input() active: boolean; - + @Input() closable: boolean; - + @Input() disabled: boolean; @Input() style: any; - + @Input() styleClass: string; - + @Output() onActivate: EventEmitter = new EventEmitter(); - + @Output() onDeactivate: EventEmitter = new EventEmitter(); - + hover: boolean; - + activate(event) { if(!this.disabled) { this.active = true; this.onActivate.emit(event); } } - + deactivate(event) { if(!this.disabled) { this.active = false; @@ -68,4 +68,4 @@ export class Inplace { exports: [Inplace,InplaceDisplay,InplaceContent,ButtonModule], declarations: [Inplace,InplaceDisplay,InplaceContent] }) -export class InplaceModule { } \ No newline at end of file +export class InplaceModule { }