You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`default`| The `default` slot is where you would place `<admin-bar-button>` elements, but it can also be used for other elements. All children in the `default` slot will be laid out by CSS Flexbox and the contents will horizontally scroll when it gets too wide. |
122
-
|`greeting`| This slot is meant to let the logged-in user verify they are logged in, but any HTML or text can appear in the `greeting` slot. |
123
-
|`logout`| When `show-logout` is set, a default logout button will be rendered, using the `logout-href` and `logout-label` attributes. Adding elements into the `logout` slot will repace the default logout button, allowing you to use your own `<admin-bar-button>` in its place. |
|`default`| The `default` slot is where you would place `<admin-bar-button>` elements, but it can also be used for other elements. All children in the `default` slot will be laid out by CSS Flexbox and the contents will horizontally scroll when it gets too wide. |
122
+
|`greeting`| This slot is meant to let the logged-in user verify they are logged in, but any HTML or text can appear in the `greeting` slot. |
123
+
|`greeting-popover`| Turns the `greeting` slot into a button and displays this slot content in a popover. |
124
+
|`logout`| When `show-logout` is set, a default logout button will be rendered, using the `logout-href` and `logout-label` attributes. Adding elements into the `logout` slot will repace the default logout button, allowing you to use your own `<admin-bar-button>` in its place. |
Copy file name to clipboardExpand all lines: index.html
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,11 @@
38
38
</head>
39
39
<body>
40
40
<admin-barclass="sticky" show-greetingshow-environmentshow-logoutavatar-alt="A Cat as an avatar" avatar-src="https://picsum.photos/150/150" greeting-text="Hi, Author">
0 commit comments