refactor: migra NgModules a componentes standalone
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import { Directive, HostBinding, Input } from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
standalone: false,
|
||||
selector: '[pi-value]',
|
||||
})
|
||||
@Directive({ selector: '[pi-value]', })
|
||||
export class PiValueDirective {
|
||||
@HostBinding('class') get classes(): string | boolean {
|
||||
return ['pi-value', this.value > 0 ? 'is-positive' : 'is-negative'].join(' ');
|
||||
|
||||
Reference in New Issue
Block a user