or
Hello ,
When my web app loads the drawer is appearing for the first few miliseconds and than closes immediatly.
How can I make the drawer be closed when the app loads and not wait for it to close ?
Currently , the user see the drawer opens and than closes
Thx
Sagi
@(Html.Kendo().MobileDrawer()
.Name("main-menu")
.HtmlAttributes(new { style = "width: 210px" })
.Title("Mobile App")
.Views("Index")
.Content(obj =>
Html.Kendo().MobileListView()
.Items(root =>
{
root.AddLink().Icon("inbox").Url("Index", "Outage").Text("Report New Outage");
root.AddLink().Icon("inbox").Url("About", "Home").Text("About");
})
)
)
<
ul
data-role
=
"listview"
id
=
"tabletDrawer"
data-click
=
"drawerClick"
>
<
li
>
<
a
href
=
"views/oc.html"
data-icon
=
"fa-calculator"
>Order Calculator</
a
>
</
li
>
<
li
>
<
a
href
=
"views/oc.html"
data-icon
=
"fa-refresh"
>Reset</
a
>
</
li
>
<
li
>
<
a
href
=
"views/settings.html"
data-icon
=
"spc-settings"
>Settings</
a
>
</
li
>
<
li
>
<
a
href
=
"#logView"
data-icon
=
"spc-log"
>Log</
a
>
</
li
>
<
li
>
<
a
href
=
"skunkworks.html"
data-icon
=
"spc-settings"
>IT Development Area</
a
>
</
li
>
<
li
>
<
a
href
=
"debug.html"
data-icon
=
"spc-settings"
class
=
"spc-debug"
>IT Debug Info</
a
>
</
li
>
</
ul
>