New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@myuw-web-components/myuw-launch-button

Package Overview
Dependencies
Maintainers
8
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myuw-web-components/myuw-launch-button

A launch button for MyUW Cards.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
8
Weekly downloads
 
Created
Source

Angular Web Component Template

This repo is meant to be a template for uPortal Angular web components.

Local Development

Install dependencies with npm install

Run local server with npm run serve:element

Building

Build the element into a single JavaScript file with npm run build-element. A single file will be generated in element/element.js. This build path can be changed in build-elements.js

Creating a web component

src/index.html is used to render the component locally.

src/app/app.module.ts is the main (and only) module for the web component. This is also where you will import all Angular Material modules and define your web component selector.

src/app/element contains all of the logic, HTML, and CSS for the web component. The name of this component can be updated but has to be updated in the component itself, module, etc.

Things to figure out

This template has some things that are not yet answered. The biggest question is how to import an existing web component into this project.

FAQs

Package last updated on 29 Aug 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

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