Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Feb 28, 2024
1 parent a2a9349 commit 172ef8e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/app/components/floatlabel/floatlabel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommonModule } from '@angular/common';
import { Component, NgModule } from '@angular/core';
import { ChangeDetectionStrategy, Component, NgModule, ViewEncapsulation } from '@angular/core';
import { SharedModule } from '../api/shared';
import { RouterModule } from '@angular/router';

Expand All @@ -10,13 +10,12 @@ import { RouterModule } from '@angular/router';
@Component({
selector: 'p-floatLabel',
template: `
<div class="p-float-label">
<span class="p-float-label">
<ng-content></ng-content>
</div>
</span>
`,
host: {
class: 'p-element'
}
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
})
export class FloatLabel {}

Expand Down

0 comments on commit 172ef8e

Please sign in to comment.