1.1.12 • Published 7 years ago

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

Weekly downloads
12
License
MIT
Repository
github
Last release
7 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

7 years ago

1.1.11

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago