React Native Bridge for KeepSafe/TapTargetView
Before we dive into on how to use this library. We would like to thank all the contributor of KeepSafe/TapTargetView for providing such a awesome nice, cool library
-
$ npm install react-native-taptargetview --save
-
$ react-native link react-native-taptargetview
- TapTarget.forView: TapTarget
let tapTarget = TapTarget.forView(Button, {
title: 'This is a target button 1',
description: 'We have the best targets, believe me'
})
TapTargetView.ShowFor(tapTarget)
- TapTargetSequence
- add(TapTarget)
- remove(TapTarget)
- removeAll
- get(TapTarget)
- getAll
let tapTargetSequence = new TapTargetSequence()
this.tapTargets.forEach(tapTarget => {
tapTargetSequence.add(tapTarget)
})
TapTargetView.ShowSequence(tapTargetSequence)
- TapTargetView
- ShowFor(TapTarget)
- ShowSequence(TapTargets)
Any type of contribution will be very much appreciated
Copyright @2017 Pranav Raj Singh Chauhan
The React Native TapTargetView is provided under the MIT License.