Animate During show() method

Hello Again.

I have a new "obstacle". Well, a trying to animate a layout of type "space" when this is showing. Originally my layout it's hidden and y show it when press a button.

I have been seeing the decoumentation, but just found how animated a "dataview", so I was wondering if there is another way to animate "layouts".

Thanks!!!

Comments

  • edited November 2020

    Hello @CesarCTA ,
    You can use animate.css to add some kind of animation to any Webix view.
    To animate the whole layout, you can use the $view property:

    { view:"button", value:"Show layout", click:function(){
      $$("layout").show();
      webix.html.addCss( $$("layout").$view , "animated swing");
    }}
    

    Please take a look at the snippet:
    https://snippet.webix.com/828q412b

  • Thank you so much!

    Your answer was very hepsul.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!