From 4340f90c5b5fa6c80ed8e567b0c63cce0d4c5066 Mon Sep 17 00:00:00 2001 From: Emil Widlund Date: Tue, 8 May 2018 13:58:55 +0200 Subject: [PATCH] Update Light.md --- documentation/Light.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/documentation/Light.md b/documentation/Light.md index 14f866d..837a369 100644 --- a/documentation/Light.md +++ b/documentation/Light.md @@ -105,8 +105,10 @@ If the argument is a string instead of an object, Framer Form expects it to be a - `easeOutElastic` - `easeInOutElastic` -#### .stateCycle(String, String) -Animate between the specified states. +#### .stateCycle(StateName: String, StateName: String) +If arguments contain 2 strings, this method will animate between the states +If arguments contain 1 string, this method will animate to the state +If no arguments are specified, this method will cycle through all available states #### .stateSwitch(String) Instantly applies the specified state's properties.