UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

46 lines (42 loc) 1.57 kB
export const AppLayoutDefinition = { type: 'object', description: 'The layout definition allows you to tweak several layout elements of the app.', additionalProperties: false, minProperties: 1, properties: { login: { enum: ['navbar', 'navigation', 'hidden'], default: 'navbar', description: 'The location of the login button.', }, settings: { enum: ['navbar', 'navigation', 'hidden'], default: 'navbar', description: `The location of the settings button. If set to \`navigation\`, it will only be visible if \`login\` is also visible in \`navigation\`. `, }, feedback: { enum: ['navbar', 'navigation', 'hidden'], default: 'navigation', description: `The location of the feedback button. If set to \`navigation\`, it will only be visible if \`login\` is also visible in \`navigation\`. `, }, install: { enum: ['navbar', 'navigation', 'hidden'], default: 'navigation', description: `The location of the install button. If set to \`navigation\`, it will only be visible if \`login\` is also visible in \`navigation\`. `, }, navigation: { enum: ['bottom', 'left-menu', 'hidden'], default: 'left-menu', description: `The navigation type to use. If this is omitted, a collapsable side navigation menu will be rendered on the left. `, }, }, }; //# sourceMappingURL=AppLayoutDefinition.js.map