Skip to content

Commit 4dbfa68

Browse files
committed
chore(): update readme
1 parent 73e83e1 commit 4dbfa68

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,17 @@ You can see the difference in the following video. The first example shows `ion-
131131
This 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

143143
registerTabBarEffect(document.querySelector<HTMLElement>('ion-tab-bar'));
144+
registerSegmentEffect(document.querySelector<HTMLElement>('ion-segment'));
144145
```
145146

146147

0 commit comments

Comments
 (0)