GithubHelp home page GithubHelp logo

dudigital / react-native-zoomable-view-example Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 27.68 MB

Example of a react-native base application using react-native-zoomable-view

JavaScript 3.96% Java 49.11% Objective-C 22.28% TypeScript 11.19% Ruby 3.35% Starlark 10.11%

react-native-zoomable-view-example's Introduction

React Native Zoomable View Example

This is just a very simple example app with react-native-zoomable-view for demonstration purposes. It was created using create-react-native-app, so all commands apply.

Getting started

If you want to try it just follow these steps:

Clone this repository

   git clone [email protected]:DuDigital/react-native-zoomable-view-example.git

Install dependencies

   yarn install

Then start the react-native bundler

   yarn start

Install the application on emulator and start

   react-native run-android

Table of Contents

Available Scripts

If Yarn was installed when the project was initialized, then dependencies will have been installed via Yarn, and you should probably use it to run these commands as well. Unlike dependency installation, command running syntax is identical for Yarn and NPM at the time of this writing.

npm start

Runs your app in development mode.

Open it in the Expo app on your phone to view it. It will reload if you save edits to your files, and you will see build errors and logs in the terminal.

Sometimes you may need to reset or clear the React Native packager's cache. To do so, you can pass the --reset-cache flag to the start script:

npm start --reset-cache
# or
yarn start --reset-cache

npm test

Runs the jest test runner on your tests.

npm run ios

Like npm start, but also attempts to open your app in the iOS Simulator if you're on a Mac and have it installed.

npm run android

Like npm start, but also attempts to open your app on a connected Android device or emulator. Requires an installation of Android build tools (see React Native docs for detailed setup). We also recommend installing Genymotion as your Android emulator. Once you've finished setting up the native build environment, there are two options for making the right copy of adb available to Create React Native App:

react-native-zoomable-view-example's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

react-native-zoomable-view-example's Issues

Use Zoomable-View with ScrollView

Hi,
First of all, This is a really nice library. Thank you for creating it :)
I want to create a chart that is zoomable. But the problem is it's inside a scrollview. Is there a way to use this library with a scrollview? I tried triggering the scrollEnabled with the Event listeners of zoomable-view. But none of them seems to be working inside a scrollview.
Please give me a solution if you can

thanks :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.