🚀 DAY 3 OF LAUNCH WEEK:Announcing Bun and vlt Support in Socket.Learn more
Socket
Book a DemoInstallSign in
Socket

@conclurer/edel-elements

Package Overview
Dependencies
Maintainers
1
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conclurer/edel-elements

Edel-Elements: UI-Elemente für das Edelog Framework

latest
Source
npmnpm
Version
1.0.0-beta.44
Version published
Maintainers
1
Created
Source

Edel-Elements

Documentation can be found at Github.io Page.

Edel-Context Element

A new, no UI element which could handle the context for an edel-element. There are some edel-elements (like the viewers) which need a context (endpoint/jwt/etc.). There are two options: Provide the context directly to every element, or using the context element.

The edel-context element is an HTML tag which accept endpoint and jwt as property and also triggers an event on every update of these properties. So if you want to listen to context updates, simply subscribe to the contextUpdated event.

Sample usage:

<edel-context endpoint="http://localhost:3000/graphql" jwt="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcnkiOiIyMDE5LTAxLTE1VDEzOjU1OjI0LjQ2NloiLCJvcmdJZGVudGlmaWVyIjoiY29uY2x1cmVyIiwiZnFuIjoiYWFyb24uY3ppY2hvbkBjb25jbHVyZXIuY29tIiwidXNlcklkIjoiNjg0YTQ3MmUtZDQwMy00YzkzLWI3ZWMtMTUyYWJhZWE5NDdiIiwiaWF0IjoxNTQ3NDc0MTI0fQ.YGVTny5HCpDrzFIyZf_1yhKkyx1SfA8TfGbXzLf9gOQ"></edel-context>

The jwt property is also optional. If the edel-context element could find a jwt inside the localStorage this is also fine.

FAQs

Package last updated on 23 Sep 2019

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