Hallo,
how do you change the title of a navbar within a drawer in code?
<
div
id
=
"mainMenu"
data-role
=
"drawer"
data-swipe-to-open
=
"false"
data-model
=
"views.index.viewModel"
data-title
=
""
>
<
header
data-role
=
"header"
>
<
div
data-role
=
"navbar"
id
=
"mainNavBar"
>
<
span
data-role
=
"view-title"
></
span
>
</
div
>
</
header
>
<
ul
id
=
"mainMenuListView"
class
=
"item-list"
data-role
=
"listview"
data-bind
=
"source: menuItemDataSource"
data-auto-bind
=
"false"
data-template
=
"mainMenuItemTemplate"
data-header-template
=
"mainMenuHeaderTemplate"
></
ul
>
</
div
>