0

I am trying to create mobile application using Phonejs. So far things are working. But now I need to implement authorization in mobile application. So, based on User rights navigation menu will be displayed. So, as per documentation I can give navigation menu once in the starting of the application. At the time of initializing the application. But now I can't find a way to access it or even a documentation on it.

Either I just need to disable few menu based on user role or if I can remove it, that will be even better. I am using simple layout; the predefined one.

Please let me know if any further details is required.

4

1 回答 1

0

您可以通过以下方式隐藏导航菜单项:

MyApplication.app.navigation[0].option('visible', false);

看到这个..

于 2014-04-08T07:56:05.687 回答