Components in Mavryx are small and easy-to-use HTML custom elements that provide additional functionalities to the HTML specification.
To add a component, you simply need to include the <mavryx-component>
tag in your HTML code with the type
parameter.
<html>
<head>
<title>Components Demo</title>
</head>
<body>
<h1>Demo</h1>
<mavryx-component type="application-switcher" ></mavryx-component>
</body>
</html>
Global attributes
Attribute Name | Description |
---|
type | Component type |
| |
Global events
Event | Scope | Arguments | Description |
---|
mavryx.component.ready | window | (api,component) | Triggered when the component is ready to use. |
| | | |
List of components
Component name | Type | Description |
---|
Application Switcher | application-switcher | This component allows users to switch between applications they have access to. |
Profile Manager | profile-manager | This component allows users to perform various actions within their account/profile. |
Side Menu | ui-side-menu | This component generates a dynamic side menu based on the provided parameters. |
Was this article helpful to you?
No
Yes