0

I am new PhoneJS coder. i have created simple slideout code.

I wanting that how to add logo at top in navi list view.

enter image description here

In picture, u can see red cirlce. that place how we can add logo? Please help

Nag Raja
  • 214
  • 2
  • 11

1 Answers1

2

In file layouts/SlideOut/SlideOutLayout.js you can find layout controller code.

Here in the end of the method _createNavigation put your code adding logotype to slideout:

_createNavigation : function(navigationCommands) {
    // existing code goes here

    this.$slideOut.find(".dx-slideout-menu").prepend("<div class='logo'>My Logo Here</div>");
}

Of course you can put any markup you need. In my example the logo could be background of the div.logo.

tabalin
  • 2,303
  • 1
  • 15
  • 27