This topic contains 1 reply, has 2 voices, and was last updated by Jai Jai 1 year, 6 months ago.

Which function initializes dropdowns in navbar?


  • burakkilic
    Participant

    Posts: 17
    Member Reply #12925

    Hello,

    I’m using Metronic with Angular 5. Because of ngIf’s in my code, dropdown’s in navbar lose their functionality.

    How to initialize them again?

    • This topic was modified 1 year, 6 months ago by  burakkilic.
    Jai
    Jai
    Keymaster

    Posts: 2715
    Support Staff Reply #12939

    Hi 🙂

    You can check in this file:

    /theme/angular/src/js/demo/default/base/layout.js

    There is method name initHeader();

    Can you try to reinit it?

    Thanks

You must be logged in to reply to this topic.