I’d like menus to pop down instantaneously.
I’d like to be able to turn on and off animation
programmatically during the running of my app.
I’ve attempted:
$(‘#js_menubar_id’).jqxMenu({ animationShowDuration: 0 })
$(‘#js_menubar_id’).jqxMenu({ animationHideDuration: 0 })
to no avail.
I’ve also looked at setting the “easing” property,
but can’t find what value would be “no easing”.
Thanks!
PS: a confusing thing to me:
when I do
$(‘#js_menubar_id’).jqxMenu({ animationShowDuration: 0 })
is this same syntax used for creating the menu with initial
values as well as setting properties for an existing menu?
IF so, is it the case that if a jqx menu is already installed
on #js_menubar_id that it just updates properties, whereas
if it doesn’t exist, it creates it and initializes properties?