1.1.12 • Published 9 years ago

react-native-sliding-up-panel v1.1.12

Weekly downloads
12
License
MIT
Repository
github
Last release
9 years ago

react-native-sliding-up-panel

Inspired by Android Sliding Panel

npm version

npm install react-native-sliding-up-panel --save

##PROPERTIES

PropertyTypeValid ValuesOptional or Required
containerMaximumHeightNumberAnyOptional
containerOpacityNumber0 to 1 (e.g) 0.5Optional
containerBackgroundColorStringHex Colors or basic colors like 'black', 'yellow', etc.Optional
handlerHeightNumberAnyOptional
handlerOpacityNumber0 to 1 (e.g) 0.5Optional
handlerBackgroundColorStringHex Colors or basic colors like 'black', 'yellow', etc.Optional
handlerDefaultViewReact ClassAny React Class with a viewRequired
allowStayMiddleBooleantrue or falseOptional

##METHOD(S)

MethodParametersMethod DescriptionReturn ValueOptional or Required
getContainerHeightcontainerHeightListening to latest final container heightcontainerHeightOptional

##SAMPLE

Sample is in Test.js. There are two handler views that you can choose. For HandlerOne, it containers a simple image with a text inside it. For HandlerTwo, it containers a view with a touchable highlight (button) where you can put an event there.

GIF example of Sliding Up Panel

sliding-up-panel

1.1.12

9 years ago

1.1.11

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago