UNPKG
coreui-angular-ex
Version:
latest (4.5.14)
4.5.14
CoreUI Components Library for Angular
coreui.io/angular/
coreui/coreui-angular
coreui-angular-ex
/
projects
/
coreui-angular
/
src
/
lib
/
card
/
card-text.directive.ts
16 lines
(13 loc)
•
269 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
{
Directive
,
HostBinding
}
from
'@angular/core'
;
@Directive
({
selector
:
'[cCardText]'
,
standalone
:
true
})
export
class
CardTextDirective
{
@HostBinding
(
'class'
)
get
hostClasses
():
any
{
return
{
'card-text'
:
true
}; } }