framer_transitions
framer_transitions copied to clipboard
Reference for Framer Classic Transitions
The Illustrated Framer Docs
Source: https://framer.com/docs/
Table of Contents
- 001 Align
- 002 Animation
- 003 Background Layer
- 004 Canvas
- 005 Color
- 006 Compatibility: basically "Mac OS"
- 007 Defaults
- 008 Device
- 009 Draggable
- 010 Events (in progress)
- 011 Extras
- 012 FlowComponent
- 013 Gradient
- 014 Layer (in progress)
- 015 MIDIComponent: Need a MIDI device to test this
- 016 Modules
- 017 PageComponent
- 018 Pinchable
- 019 Print
- 020 RangeSliderComponent
- 021 Screen
- 022 ScrollComponent (in progress)
- 023 SliderComponent
- 024 States
- 025 TextLayer
- 026 Utilities
- 027 VideoLayer
001 align and offset
| 001 demo | options [5] |
|---|---|
![]() |
layerA = new Layer Align
|
002 animation
| 001 demo | options [8] |
|---|---|
![]() |
:arrow_upper_right:
|
003 backgroundLayer
| 003 demo | options [0] |
|---|---|
![]() |
bg = new BackgroundLayer Note: backgroundLayer is overridden by an artboard If it has a parent, it will inherit the size of the parent |
004 canvas
| 004 demo | options [10] |
|---|---|
![]() |
Note: Canvas only works when viewing :iphone: :grapes:
|
005 color
| 005 demo | options [16] |
|---|---|
![]() |
:art: :iphone:
Not Shown :printer:
|
007 defaults
| 007 demo | options [0] |
|---|---|
![]() |
Framer.Defaults.Layer.size = 100 :large_blue_diamond: :large_blue_diamond:
:warning:
|
008 device
| 008 demo | options [12] |
|---|---|
![]() |
:iphone:
|
009 draggable
| 009 demo | options [29] |
|---|---|
![]() |
layerA.draggable.enabled = true 1st :arrow_up_down: 2nd :arrows_counterclockwise: 3rd :arrows_clockwise:
- height: 50 - tension: 200, - tolerance: 0.0001
- tolerance: 0.1 - print <layer>.draggable.angle
|
010 events is in progress
| 010 demo 1 | options [1 - 4 / 22] |
|---|---|
| Events 1 Tap . LongPress . Swipe . Pinch ![]() |
[1] Tap
|
| 010 demo 2 | options [5 - 9 / 22] |
|---|---|
| Events 2 Scale . Rotate . Touch . Click . Mouse ![]() |
[7] Scale
|
| 010 demo 3 | options [10 - 13 / 22] |
|---|---|
| Events 3 Animation . State . Drag . Scroll ![]() |
[12] Animation
|
| 010 demo 4 | options [14 - 16 / 22] |
|---|---|
| Events 4 EdgeSwipe . Transition . Value ![]() |
[16] EdgeSwipe
To Add [17] Transition
|
| 010 demo 5 | options [17 - 20 / 22] |
|---|---|
| Events 5 Change . Gesture Event . touchEvent() . wrap() ![]() |
[22] wrap()
To Add [19] Change - listen to properties as they change
Positioning
|
| 010 demo 6 | options [20 - 22 / 22] |
|---|---|
| Events 6 Force Tap . Pan ![]() |
[2] Force Tap :iphone:
|
011 extras
| 011 demo | options [02] |
|---|---|
![]() |
Framer.Extras.Hints.enable() :id: Hints can be customised
|
012 flowcomponent
| 012 demo | options [12] |
|---|---|
![]() ![]() |
flow = new FlowComponent :green_book:
|
013 gradient
| 013 demo | options [3] |
|---|---|
![]() |
:banana:
|
014 layer is in progress
| 014 demo | options [95] |
|---|---|
| :large_orange_diamond: NAME - SIZE - COLOR - BORDER - 2D ROTATION [A] z, hueRotate (0 to 360) [B] gradient, visible = true, name = "square1" (can inherit from sketch import) [C] borderRadius, borderWidth, borderColor, image, brightness [D] contrast [E] saturate [F] invert, opacity [G] grayscale [I] scale, sepia ![]() |
:large_orange_diamond: NAME - SIZE - COLOR - BORDER - 2D ROTATION
|
| 014 demo | options [95] |
|---|---|
:chicken: :hatching_chick: PARENTS - CHILDREN![]() |
:chicken: :hatching_chick: PARENT - CHILDREN
|
| 014 demo | options [95] |
|---|---|
:first_quarter_moon: POSITIONING - FRONT - BACK![]() |
:first_quarter_moon: POSITIONING - FRONT - BACK
|
| 014 demo | options [95] |
|---|---|
:dizzy: ANIMATION - STATES![]() |
:dizzy: ANIMATION - STATES
(these set the options for all animations performed on the layer unless they are overruled)
|
| 014 demo | options [95] |
|---|---|
:waning_gibbous_moon: SHADOWS - BLENDING![]() |
:waning_gibbous_moon: SHADOWS - BLENDING
|
| 014 demo | options [95] |
|---|---|
CONVERTPOINTTOCANVAS()
|
| 014 demo | options [95] |
|---|---|
DYNAMIC CENTERING
|
| 014 demo | options [95] |
|---|---|
:computer: HTML AND CSS![]() |
:computer: HTML AND CSS
|
017 pageComponent
| 017 demo | options [14] |
|---|---|
![]() |
page = new PageComponent :evergreen_tree::green_heart:
|
018 pinchable
| 018 demo | options [11] |
|---|---|
![]() |
layerA.pinchable.enabled = true :evergreen_tree::green_heart:
|
019 print
| 019 demo | options [0] |
|---|---|
![]() |
Acts in a similar manner to console.log() in JavaScript. Want to use this section to show print in context |
020 rangeSliderComponent
| 020 demo | options [10] |
|---|---|
![]() |
range = new RangeSliderComponent :heavy_minus_sign: RangeSliderComponent
|
021 screen
| 021 demo | options [10] |
|---|---|
![]() |
:barber:
|
022 scrollComponent is in progress
| 022 demo | options [28] |
|---|---|
:scroll: Version 1 :computer::keyboard: Version 2 ![]() |
scroll = new ScrollComponent Introduction
:scroll: Version 1: Built Primarily in Design Mode
|
023 sliderComponent
| 023 demo | options [9] |
|---|---|
![]() |
slider = new SliderComponent :heavy_minus_sign:
|
024 states
| 024 demo | options [2] |
|---|---|
![]() |
|
025 textLayer
| 025 demo | options [24] |
|---|---|
![]() |
title = new TextLayer :abcd: TextLayer
- left: 0 - bottom: 0 - right: 0
- Utils.round(value, 0) count: 1000
* = mandatory |
026 utilities
| 026 demo | options [23] |
|---|---|
![]() |
:arrow_double_up:
for i in [10...100] handler() for i in [1..100] handler()
|
027 videoLayer
| 027 demo | options [2] |
|---|---|
![]() |
layerA = new VideoLayer :movie_camera:
|
To complete:
- [ ] Understand point to canvas commands
- [ ] Use folds to improve readability of raw framer files
- [ ] Investigate 016 Modules
- [ ] Investigate 015 MIDI Component
- [ ] Understand 014 layers blending (https://share.framerjs.com/1tjsgosgsjkh/) - credit to Davo Galavotti
- [ ] Finish 014 layers
- [ ] Finish 010 events
- [ ] Change colors on 026 Utils
- [ ] More in context examples
- [ ] Replace devices with native iPhone X model
Credits:
RayPS - iPhone X Framer device mockup from: https://gist.github.com/RayPS/0a21af6cf3b0578ffab62c604b5ea6e2


































