We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99dacc2 commit 7aafd73Copy full SHA for 7aafd73
projects/coreui-angular/src/lib/utilities/rounded.directive.ts
@@ -4,7 +4,7 @@ import { Rounded } from './rounded.type';
4
@Directive({
5
selector: '[cRounded]',
6
exportAs: 'cRounded',
7
- host: { '[class]': 'hostClasses' }
+ host: { '[class]': 'hostClasses()' }
8
})
9
export class RoundedDirective {
10
/**
@@ -13,7 +13,7 @@ export class RoundedDirective {
13
*/
14
readonly cRounded = input<Rounded>(true);
15
16
- readonly hostClasses = computed( () => {
+ readonly hostClasses = computed(() => {
17
const rounded = this.cRounded();
18
if (typeof rounded === 'boolean') {
19
return { rounded: true };
0 commit comments