I’m a newbie on wisej (I’m comming from Visual Webgui). Seems stupid, but is there any simple sample on using animation control?
I saw samples on using specific features of wisej, but few or none on using basic controls.
See answers below:
Yes, that’s exactly what I asked for. Thank you! I has locked in the point I was not able to change animation name from GUI.
Please help me in another 3 issues (you know, the first steps are the hardest; I promise that in 1 months I’ll have much more difficult ones but less often):
Do you mean the animation extender?
See attached sample. It shows a page with 2 animation extenders. When you add an extender, all controls on a container gain new properties. In this case you will see that all controls now have 2 (because I added it twice) new “Animation” properties. You can select the type of animation and the event that triggers it. You can also run an animation programmatically using this.animation1.Run(control).
There are few predefined animations. You can add custom animations to the CustomAnimations collection on the animation extender. There is a bug now that prevents the serialization of the custom animation by the designer – it will be fixed in the next release. But you can add custom animations by code. See the sample attached.
I have added the “Splat” animation from this key frame generator: http://bouncejs.com/ You can use any css3 frame generator, however the CSS3 notation has to be changed to a JSON notation for Wisej to use it.
Please login first to submit.