Special charte instance for Macarte. Set Macarte menus and handle login/logout.
- Source:
- charte/macarte.js
Methods
-
setApp(id, name)
-
Add default menu for MonMaMes
Parameters:
Name Type Description id
string App id
name
string App name (shown in the header)
- Source:
- charte/macarte.js
Example
import charte from 'mcutils/charte/macarte' // Create an app with a title charte.setApp('macarte', 'Ma carte');