I'm trying to get my notifications to collapse, rather than just fade out. I've looked all over for a list of possible animations, but all i can find is a few examples (using fade and zoom), and a forum post from 2011 that said the animation types would soon be listed in the documentation for Window.
http://www.telerik.com/forums/list-of-animation-types
I've come across the "collapseVertical" option in the javascript, but that doesn't work for the notification. Here's what i tried:
var staticNotification = $("<span></span>").kendoNotification({
appendTo: $(".topStaticNotification"),
animation: {
close: {
effects: "collapseVertical"
}
},
hide: hideNotification
}).data("kendoNotification");
If i put in "fadeOut", then the notification behaves as normal. But it doesn't look like any other options can work there. Is this possible by just using the built in animation somehow?
My next thought was to just catch the "hide" event and manually collapse it (hence the hideNotification above). But, for whatever reason, this doesn't seem to work either.
Any ideas?
http://www.telerik.com/forums/list-of-animation-types
I've come across the "collapseVertical" option in the javascript, but that doesn't work for the notification. Here's what i tried:
var staticNotification = $("<span></span>").kendoNotification({
appendTo: $(".topStaticNotification"),
animation: {
close: {
effects: "collapseVertical"
}
},
hide: hideNotification
}).data("kendoNotification");
If i put in "fadeOut", then the notification behaves as normal. But it doesn't look like any other options can work there. Is this possible by just using the built in animation somehow?
My next thought was to just catch the "hide" event and manually collapse it (hence the hideNotification above). But, for whatever reason, this doesn't seem to work either.
Any ideas?