/// <summary> /// Displays component at specific xy position. A floating component (like a menu) is positioned relative to its ownerCt if any. Useful for popping up a context menu /// </summary> /// <param name="x">The new x position</param> /// <param name="y">The new y position</param> /// <param name="animate">Animation configuration</param> public void ShowAt(int x, int y, AnimConfig animate) { this.Call("showAt", x, y, new JRawValue(new ClientConfig().Serialize(animate))); }
public virtual void SetPosition(int x, int y, AnimConfig animate) { this.Call("setPosition", x, y, new JRawValue(new ClientConfig().Serialize(animate))); }
/// <summary> /// /// </summary> public virtual TBuilder DoAnimation(AnimConfig cfg) { this.ToComponent().DoAnimation(cfg); return(this as TBuilder); }
/// <summary> /// /// </summary> public virtual Sprite.Builder Animate(AnimConfig cfg) { this.ToComponent().Animate(cfg); return(this); }
public virtual void Animate(AnimConfig cfg) { this.CallTemplate("animate", new JRawValue(new ClientConfig().Serialize(cfg))); }
/// <summary> /// /// </summary> public virtual TBuilder SetPosition(int x, int y, AnimConfig animate) { this.ToComponent().SetPosition(x, y, animate); return(this as TBuilder); }
///<summary> /// Sets the active (visible) component in the layout to the previous card, optional wrap parameter to wrap to the last card when the beginning of the stack is reached. ///</summary> ///<param name="anim">Animation to use for the card transition</param> public virtual void PrevItem(AnimConfig anim) { this.Call("layout.prev", new JRawValue(new ClientConfig().Serialize(anim, true))); }
public virtual Element Animate(AnimConfig args) { this.Call("animate", new JRawValue(new ClientConfig().Serialize(args))); return this; }
/// <summary> /// /// </summary> public virtual TBuilder Animate(AnimConfig cfg) { this.ToComponent().Animate(cfg); return(this as TBuilder); }
/// <summary> /// /// </summary> /// <param name="cfg"></param> void IAnimate.Animate(AnimConfig cfg) { this.DoAnimation(cfg); }
public virtual void DoAnimation(AnimConfig cfg) { this.Call("animate", new JRawValue(new ClientConfig().Serialize(cfg))); }
///<summary> /// Sets the active (visible) component in the layout to the next card, optional wrap parameter to wrap to the first card when the end of the stack is reached. ///</summary> ///<param name="anim">Animation to use for the card transition</param> ///<param name="wrap">Wrap to the first card when the end of the stack is reached.</param> public virtual void NextItem(AnimConfig anim, bool wrap) { this.Call("layout.next", new JRawValue(new ClientConfig().Serialize(anim, true)), wrap); }
/// <summary> /// Animation config /// </summary> public virtual Chart.Builder AnimateConfig(AnimConfig animateConfig) { this.ToComponent().AnimateConfig = animateConfig; return(this as Chart.Builder); }