Skip to content

Commit 2c82f0b

Browse files
committed
Adds some comments and author info
1 parent 93c7637 commit 2c82f0b

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

Diff for: ValueLayer.coffee

+17-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
# Add the following line to your project in Framer Studio.
2-
# {ValueLayer} = require "ValueLayer"
3-
# instantiate new instances with: new ValueLayer
1+
################################################################################
2+
# Updated 15 Jun 2016 by Trevor Phillippi || @trevorphillippi
3+
################################################################################
4+
#
5+
# Usage:
6+
#
7+
# {ValueLayer} = require "ValueLayer"
8+
# currencyLayer = new ValueLayer
9+
# value: 100
10+
# rounding: 2
11+
# formatString: (v) -> "$#{v}"
12+
#
13+
# To do:
14+
# - make values editable in place
15+
# - make richer animation options
16+
#
17+
################################################################################
418

519

620
class ValueLayer extends Layer

0 commit comments

Comments
 (0)