• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

robotdestroy/Framer-Snippets-Library: A library of Framer snippets to help speed ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

robotdestroy/Framer-Snippets-Library

开源软件地址(OpenSource Url):

https://github.com/robotdestroy/Framer-Snippets-Library

开源编程语言(OpenSource Language):

CoffeeScript 100.0%

开源软件介绍(OpenSource Introduction):

Framer Snippets

I built this library to compliment the included snippets library in Framer. These snippets focus on repeated actions and include as little code as possible. It should be quite helpful to beginners who are learning the basic behaviors of Framer, but it should be also be helpful to more experienced users when used as shortcuts.

To use - drag the folders into your Framer snippets folder on your local machine: In Framer, go to snippets > show snippets folder. Drag all of my folders into that folder. See my YouTube channel for a few demos:

alt tag

Actions

A variety of common actions.

  • Click
  • Keydown
  • Touch Start
  • Touch Move
  • Touch End

Animate

A variety of common animation starters. Including scale, opacity, and position. Customize to your needs.

  • Opacity
  • Position
  • Scale
  • Dimensions
  • Rotation
  • With Delay

Trigger On End

Included are two ways to trigger an animation on the end of another animation. The formal one should be used when you intend on reusing the animations, the casual one can be used for one off triggering.

Repeating

This snippet allows you to create an infinite loop of two animations. The 'Halt' snippet will stop the repeating animation.

Slow Motion

This will allow you view your prototypes in slow motion to more finely tune your animations.

Drag

  • Start
  • Move
  • End
  • Postion

Use these to trigger events from drag actions. Position reports back the current drag position, use it to trigger events when you drag an object into a trigger area.

Layers

  • Sub Layer
  • Video Layer
  • Destroy Layer

Layer Properties

Use these to effect your layers.

  • Blur
  • Border
  • Center
  • Circle Shape
  • HTML
  • Image
  • Name
  • Saturation
  • Shadow
  • Style
  • Place Before & Behind
  • Bring To Front & Send To Back

Flow Component

Use these to create a flow.

  • Flow Component
  • Show Next/Previous
  • Show Next (No transition)
  • Show Overlay Center/Left/Right/Notif
  • Footer and Header

State

Use these to setup states.

  • Define States
  • State Cycle
  • If Current State name is x then y
  • Animation Options

Scroll

Position

Reports back scroll position. You can use this to trigger events that need to occur at certain positions of a scrollLayer.

Direction Lock

Locks scrolling to one direction at a time

Velocity

Reports back velocity of scroll.

Simple Click and Touch

  • Click
  • Touch Start
  • Touch Move
  • Touch End

Very simple click and touch listeners. Use Click when you want immediate feedback. Touch allows more control over the touch event, but has a small delay.

Other

Delay Utility

Delays anything.

Device Check

Checks to see what device the project is being run on.

Project Setup Example

An organized way to set up your projects.

Spring

  • Fast
  • Loose
  • Slow
  • Variables Setup

Some starter springs. The variable setup allows you to create reusable springs. Place this at the beginning of your file.

Follow me

Twitter: charliedeets

Facebook: robotsecret




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap