mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
695 B
695 B
| 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