Skip to content

Commit 0a452a4

Browse files
committed
refactor(card-header-actions): host bindings
1 parent 23fe32b commit 0a452a4

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import {Component, HostBinding} from '@angular/core';
1+
import { Component } from '@angular/core';
22

33
@Component({
44
selector: 'c-card-header-actions, [c-card-header-actions]',
55
template: '<ng-content />',
6-
standalone: true
6+
standalone: true,
7+
host: { class: 'card-header-actions' }
78
})
8-
export class CardHeaderActionsComponent {
9-
10-
@HostBinding('class.card-header-actions') cardHeaderActions = true;
11-
12-
}
9+
export class CardHeaderActionsComponent {}

0 commit comments

Comments
 (0)