695 B
695 B
sidebar_position, title
| sidebar_position | title |
|---|---|
| 4 | data-tc-role |
Tailchat Role is a way to identify the DOM through data-*, indicating the role of the node in Tailchat, developers can use this to find the DOM node corresponding to the role
Example: [data-tc-role=navbar]
navbar: navigation barnavbar-personal: personal homepage in the navbarnavbar-groups: Groups in the navbarnavbar-settings: settings in the navbarsidebar-personal: sidebar in personal homepagesidebar-group: sidebar in groupcontent-personal: the content of the personal homepagecontent-group: the content of the group pagemodal: modal boxmodal-mask: the mask layer of the modal box