Is there a way to use dynamically generated text instead of menu_items source file?
You can generate items structure on a server side in way you like but not on a client side. Menu is generated once for a whole session
Should a .js file be generated (if yes , then where it will be stored) or I can use
string? Can you give me an exemple?