$w.MenuContainer API Function Help

#wixCode #mobileMenu #menuContainer

Question regarding the $w.MenuContainer API that was released.

According to the documentation the function .open() will open the Custom Mobile Menu as shown in Idan’s example here

I tried to implement the function by reading what’s written in the documentation but…

See above: My Mobile Menu’s ID is menuContainer1

But when I try to use the .open() function on it…

Am I doing something wrong?

-Shan

Hey Shan - I’m going to send this onward. You help a lot of people here, so I will get someone to take a look. :slight_smile:

Hi Shan,

You’re doing nothing wrong :slight_smile:
It’s the IDE that doesn’t recognise the method ‘open’, please ignore this “error”, it should still work.

Liran.

Thank you very much Brett, you da man!