File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -131,16 +131,17 @@ You can see the difference in the following video. The first example shows `ion-
131131This is a known issue that has been shared with the Ionic team. We will update this library accordingly once Ionic Core addresses it.
132132
133133
134- ### Experimental: Using Tap Animation with IonTabButton
134+ ### Experimental: Using Tap Animation with IonTabButton / IonSegmentButton
135135
136136__ This feature is experimental. The library can be used without this feature.__
137137
138- By registering IonTabBar, you can display animation effects on IonTabButton.
138+ By registering IonTabBar / IonSegment , you can display animation effects on IonTabButton / IonSegmentButton .
139139
140140``` js
141- import { registerTabBarEffect } from ' @rdlabo/ionic-theme-ios26' ;
141+ import { registerTabBarEffect , registerSegmentEffect } from ' @rdlabo/ionic-theme-ios26' ;
142142
143143registerTabBarEffect (document .querySelector < HTMLElement > (' ion-tab-bar' ));
144+ registerSegmentEffect (document .querySelector < HTMLElement > (' ion-segment' ));
144145```
145146
146147
You can’t perform that action at this time.
0 commit comments