I have a declaratively specified list of drawer options:
How can I remove one of them at runtime (for example, if I wanted to remove an item from the list based on a setting in a build configuration).
Thanks,
Jason
<
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
>
How can I remove one of them at runtime (for example, if I wanted to remove an item from the list based on a setting in a build configuration).
Thanks,
Jason