aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/styles-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/styles-controller.js')
-rw-r--r--js/controllers/styles-controller.js29
1 files changed, 28 insertions, 1 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js
index 1dd91c8d..21024125 100644
--- a/js/controllers/styles-controller.js
+++ b/js/controllers/styles-controller.js
@@ -804,7 +804,34 @@ var stylesController = exports.StylesController = Montage.create(Component, {
804 return browserValues; 804 return browserValues;
805 } 805 }
806 }, 806 },
807 807
808 ///// Set Keyframe Style
809 ///// For a given CSSKeyframesRule, we may add a style to the keyframe at
810 ///// given index.
811
812 setKeyframeStyle : {
813 value : function(rule, keyframeIndex, property, value, useImportant) {
814 return this.setStyle(rule.cssRules[keyframeIndex], property, value, useImportant);
815 }
816 },
817
818 ///// Set Keyframe Styles
819 ///// For a given CSSKeyframesRule, we may add styles to the keyframe at
820 ///// given index.
821
822 setKeyframeStyle : {
823 value : function(rule, keyframeIndex, property, value, useImportant) {
824 return this.setStyles(rule.cssRules[keyframeIndex], property, value, useImportant);
825 }
826 },
827
828 insertKeyframe : {
829 value : function() {
830
831 }
832 },
833
834
808 ///// Delete style 835 ///// Delete style
809 ///// Removes the property from the style declaration/rule 836 ///// Removes the property from the style declaration/rule
810 ///// Returns the rule 837 ///// Returns the rule