Giter Club home page Giter Club logo

gotcha's Introduction


Gotcha ๐Ÿ‘Œ



INTRODUCTION

Press a key and your Framer prototype becomes its own live, self-documenting, developer-ready spec.

When enabled, Gotcha provides precise information about your project's elements: from positions and colors to font styling and even component names and relationships. Best of all, Gotcha works seamlessly with Framer Cloud, so the links you send can work as specs, too.

Check out the demo.


Installation

Download the gotcha.coffee file and drag it into your project's code editor.

Usage

In the Preview window...

  • Hover a Layer to get information about it
  • Tap a Layer to select it

On your keyboard...

  • Press ` or < to enable or disable Gotcha
  • Press / or > to select or deselect a Layer
  • Press . to simulate a tap on a hovered Layer
  • Press \ to pause all animations

In the spec panel...

  • click any field to copy the field's value
  • Slow down the global animation speed using the Speed slider
  • Change devices using the Devices dropdown

Tips

  • Gotcha works in the Device Preview window. If your preview window is zoomed in, or if you can't see a device, you'll need to select the Toggle Device from the window's hamburger menu, or press Command + Shift + D.
  • Be sure that your Device Preview window is active before pressing any keys, lest you find your code full of random tick marks.

Planned Features

  • Copy formatted CSS from the spec panel.
  • Give your components custom properties to display.

Contact

gotcha's People

Contributors

jorgemartins avatar nvh avatar steveruizok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gotcha's Issues

spec panel is partially hidden

Many thanks :)

There is a small issue. I designed for a custom screen size. The spec panel gets hidden behind the preview.

screen shot 2017-12-14 at 2 27 50 pm

When I 'toggle device', the spec panel becomes visible

screen shot 2017-12-14 at 2 28 21 pm

I strongly suspect this behavior is due to the custom device being used. The code is:

# Define and set custom device
Framer.Device.customize
	deviceType: Framer.Device.Type.Tablet
	devicePixelRatio: 1
	screenWidth: 1024
	screenHeight: 600

Framer Module Error

When trying to install via framer module, I get the following error:

A JavaScript error occured in the main process

Uncaught Exception:
TypeError: Cannot read property 'forEach' of undefined
    at updateFoldRanges (/Applications/Framer Modules.app/Contents/Resources/app.asar/app/core/prototype-actions/updateRequireCommand.js:50:35)
    at updateRequireCommand (/Applications/Framer Modules.app/Contents/Resources/app.asar/app/core/prototype-actions/updateRequireCommand.js:90:13)
    at /Applications/Framer Modules.app/Contents/Resources/app.asar/app/core/prototype-actions/installRemove.js:214:56
    at next (/Applications/Framer Modules.app/Contents/Resources/app.asar/node_modules/rimraf/rimraf.js:74:7)
    at FSReqWrap.CB [as oncomplete] (/Applications/Framer Modules.app/Contents/Resources/app.asar/node_modules/rimraf/rimraf.js:110:9)```

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.