I declared my Drawer like this
<div id="app-drawer" data-role="drawer" data-init="drawerInit">
With a function in script tags like:
function drawerInit(e) {...}
As per the documentation: http://docs.telerik.com/kendo-ui/api/mobile/drawer
But it doesn't fire...
I renamed my function "drawerInit" to "onInit" and it now works!
Why wouldn't it just call the function specified in the data-init attribute?
Is this a bug or intentional?
<div id="app-drawer" data-role="drawer" data-init="drawerInit">
With a function in script tags like:
function drawerInit(e) {...}
As per the documentation: http://docs.telerik.com/kendo-ui/api/mobile/drawer
But it doesn't fire...
I renamed my function "drawerInit" to "onInit" and it now works!
Why wouldn't it just call the function specified in the data-init attribute?
Is this a bug or intentional?