@sesamy/open-web-components
v1.0.3
Published
A set of web components that uses the sesamy-js library to interact with the Sesamy API.
Downloads
142
Readme
Open Web Components
A set of web components that uses the sesamy-js library to interact with the Sesamy API.
The library does not include the sesamy-js library, so you need to include it in your project.
Sesamy Login
The sesamy-login
component is a simple login component that shows a login button if the user isn't logged in. If the user is logged it it instead shows the users avatar.
Usage
<sesamy-login></sesamy-login>
Sesamy Logout
The sesamy-logout
component is a simple logout button that uses the Sesamy API to log out the current user. If the user isn't logged in no button is displayed
<sesamy-logout></sesamy-logout>