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 e80d399 commit fa3dffeCopy full SHA for fa3dffe
projects/coreui-angular/src/lib/offcanvas/offcanvas/offcanvas.component.ts
@@ -24,6 +24,7 @@ import { Subscription } from 'rxjs';
24
import { filter } from 'rxjs/operators';
25
26
import { BackdropService } from '../../backdrop/backdrop.service';
27
+import { ThemeDirective } from '../../shared';
28
import { OffcanvasService } from '../offcanvas.service';
29
30
let nextId = 0;
@@ -52,6 +53,9 @@ let nextId = 0;
52
53
exportAs: 'cOffcanvas',
54
standalone: true,
55
imports: [A11yModule],
56
+ hostDirectives: [
57
+ { directive: ThemeDirective, inputs: ['dark'] }
58
+ ],
59
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
60
host: { ngSkipHydration: 'true' }
61
})
0 commit comments