Beispiel #1
0
        public static string GetSectionEffectCssClass(this IAbstractSectionEffects item)
        {
            if (!item.AnimationEnable)
            {
                return(null);
            }

            StringBuilder sb = new StringBuilder("wow fadeIn");

            if (item.AnimationDirection != null)
            {
                sb.Append(item.AnimationDirection.ToString());
            }

            if (item.AnimationLarger)
            {
                sb.Append("Big");
            }

            return(sb.ToString());
        }
Beispiel #2
0
 /// <summary>Static getter for Enable Animation</summary>
 public static bool GetAnimationEnable(IAbstractSectionEffects that)
 {
     return(that.GetPropertyValue <bool>("animationEnable"));
 }
Beispiel #3
0
 /// <summary>Static getter for Animation Direction</summary>
 public static object GetAnimationDirection(IAbstractSectionEffects that)
 {
     return(that.GetPropertyValue("animationDirection"));
 }