Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@myuw-web-components/myuw-profile

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myuw-web-components/myuw-profile

Web component that provides an avatar button and profile menu

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
406
decreased by-1.69%
Maintainers
1
Weekly downloads
 
Created
Source

This component is currently a work in progress, right now it does work as a stand alone component and in tandem with the myuw-app-bar component.

Right now all of the data is hardcoded in as a placeholder, this will be updated soon to use dynamic data pulled in from the MyUW session endpoint.

Getting Started

Add the following import to your page's <head>:

<link rel="import" href="https://unpkg.com/@myuw-web-components/myuw-profile@1.0.0/myuw-profile.html">

Use the component's HTML tag wherever you want:

<myuw-profile
    login-url=""
    logout-url=""
    session-endpoint=""
    open-right=""
>
</myuw-profile>
Configurable properties
  • Login URL (login-url): The URL to redirect users to on login
  • Logout URL (logout-url): The Logout URL to redirect users to on logout
  • Session Endpoint (session-endpoint): The endpoint URL for session info
  • Open Menu Right (open-right): Include this attribute if you would like the profile menu to open to the right, instead of left
Slots
  • Profile Navigation Item (nav-item): Add a custom item to the profile button's navigation menu, this slot expects an <a> tag

FAQs

Package last updated on 14 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc