Element: <ins-header-user>
Displays header items.
Code Snippet
<ins-header> <ins-header-user name="John Smith" profile-link="/assets/pages/my-profile.html"> </ins-header-user> </ins-header>
Code Snippet
<ins-header> <ins-header-user></ins-header-user> </ins-header>
Code Snippet
<ins-header> <ins-header-user id="directSetDataHeaderUser"> </ins-header-user> </ins-header> <script> var directSetDataHeaderUser = document.getElementById('directSetDataHeaderUser'); directSetDataHeaderUser.addEventListener('didLoad', function(e){ directSetDataHeaderUser.name = 'Jane Doe'; directSetDataHeaderUser.logoutLink = '/sign-out'; directSetDataHeaderUser.profileLink = '/my-account'; }); </script>
Code Snippet
<ins-header> <ins-header-user name="John Smith" logout-link="/logout" profile-link="/my-profile"> </ins-header-user> </ins-header>
FIELD ATTRIBUTE | TYPE | DEFAULT | OPTIONS | DESCRIPTION |
---|---|---|---|---|
name | string | "User" | any | Defines name of dropdown feature in header |
profile-label | string | "My Profile" | any | Customizes the label of "MyProfile" selection |
profile-link | string | "#/my-profile" | any | Defines link of "MyProfile" selection |
logout-label | string | "Logout" | any | Customizes the label of "logout" selection |
logout-link | string | "" | any | Defines link of "logout" selection |
app | boolean | false | true, false | Renders iframe |
formatted-route | string | any | N/A |
Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.