Skip to content

Commit ac88547

Browse files
committed
fix(tabs): add TabHighlight to IONIC_DIRECTIVES
fixes #8294
1 parent d893441 commit ac88547

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/tabs/test/basic/app-module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ export class E2EApp {
273273
TabsPage
274274
],
275275
imports: [
276-
IonicModule.forRoot(E2EApp)
276+
IonicModule.forRoot(E2EApp, {
277+
tabsHighlight: true,
278+
})
277279
],
278280
bootstrap: [IonicApp],
279281
entryComponents: [

src/directives.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ import { Spinner } from './components/spinner/spinner';
5151
import { Tab } from './components/tabs/tab';
5252
import { Tabs } from './components/tabs/tabs';
5353
import { TabButton } from './components/tabs/tab-button';
54+
import { TabHighlight } from './components/tabs/tab-highlight';
5455
import { TextInput, TextArea } from './components/input/input';
5556
import { Thumbnail } from './components/thumbnail/thumbnail';
5657
import { Toggle } from './components/toggle/toggle';
@@ -228,6 +229,7 @@ export const IONIC_DIRECTIVES: any[] = [
228229
Tab,
229230
Tabs,
230231
TabButton,
232+
TabHighlight,
231233
TextArea,
232234
TextInput,
233235
Thumbnail,

0 commit comments

Comments
 (0)