callstack / callstack/react-native-slider
Support native events
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.4k
- Forks
- 295
- Ø Merge
- 5 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
## Describe the Feature
**Native Events** instead of ~js events~:
`onValueChange`
`onSlidingStart`
`onSlidingComplete`
## Possible Implementations
Supporting **native events** will unlock the abilities of `Animated.event` enabling tracking the Slider's value and animating stuff accordingly.
This will enable customizing this view to a large extent easily and with high performance.
Avoiding breaking changes can be achieved with a flag from props or by checking `typeof props.onValueChange === 'object'`
.
### Android JS Impl
Uses `Slider` for `value` and renders the rest on top.
Native events will enhance this extremely and make *dev experience* easier (less code needed for customization)

## Related Issues
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.