本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
<salla-user-menu> web component is used to show a navigation menu list with links that route users to accomplish user-related functions including Login, Logout, Profile, Sign Up, and more.
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| Avatar Only | avatar-only | Whether or not to display the trigger as only an avatar | boolean | false |
| Inline | inline | Whether or not to show only the list without the dropdown functionality | boolean | false |
| Relative Dropdown | relative-dropdown | Whether or not to make the dropdown menu relative to parent element | boolean | false |
| Show Header | show-header | Whether or not to present the dropdown header in mobile sheet | boolean | false |
slots makes it customizable to modify certain labels, such as trigger.| Slot | Description |
|---|---|
trigger | Replaces the trigger widget label with replaceable props which are {avatar}, {hello}, {first_name}, {last_name}, {icon}. |
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群