All Projects → playerx → angular-elements-sample

playerx / angular-elements-sample

Licence: other
Demo project, that demonstrates how to generate Web Components using Angular Elements, cool stuff :)

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to angular-elements-sample

nitro
🔥 NITRO: Nitrogen Web Framework
Stars: ✭ 45 (+150%)
Mutual labels:  elements
flutter-animations
medium.com/flutter-jp/implicit-animation-b9d4b7358c28
Stars: ✭ 37 (+105.56%)
Mutual labels:  sample
abap-odata-smoke-test
This ABAP Report performs simple smoke tests for activated ODATA services, providing basic automated testing for your ODATA endpoints.
Stars: ✭ 13 (-27.78%)
Mutual labels:  sample
cloud-platform-iot-starterkit
This repository provides information and code for working with SAP Cloud Platform Internet of Things. It enables users to get an end-to-end IoT solution with either real hardware or simulators up and running fast and start their own extensions and usage based on this.
Stars: ✭ 276 (+1433.33%)
Mutual labels:  sample
capacitor-vue-ionicv4-app
sample app using capacitor vuejs and ionicv4 components
Stars: ✭ 70 (+288.89%)
Mutual labels:  webcomponents
solar-components
Web Components Implementation of Solar Design System
Stars: ✭ 16 (-11.11%)
Mutual labels:  webcomponents
3dsMax-Python-HowTos
3ds Max python samples
Stars: ✭ 86 (+377.78%)
Mutual labels:  sample
domy
Custom Elements Storage
Stars: ✭ 77 (+327.78%)
Mutual labels:  webcomponents
mendeleev
A python package for accessing various properties of elements, ions and isotopes in the periodic table of elements.
Stars: ✭ 107 (+494.44%)
Mutual labels:  elements
vaadin-split-layout
The Web Component which allows you to partition a layout into resizeable areas. Part of the Vaadin components.
Stars: ✭ 40 (+122.22%)
Mutual labels:  webcomponents
ConductOfCode
Code examples for the blog
Stars: ✭ 15 (-16.67%)
Mutual labels:  sample
cloud-sample-spaceflight-java
Build Java applications with the application programming model on SAP Cloud Platform.
Stars: ✭ 49 (+172.22%)
Mutual labels:  sample
byd-api-samples
A set of Postman collections that enables users to consume SAP Business ByDesign web services.
Stars: ✭ 49 (+172.22%)
Mutual labels:  sample
cloud-abap-rap
This repository contains several examples how to develop with the ABAP RESTful Application Programming Model (RAP) in SAP BTP, ABAP environment.
Stars: ✭ 98 (+444.44%)
Mutual labels:  sample
bundler-comparison
Comparison of web resource bundlers. 📦
Stars: ✭ 21 (+16.67%)
Mutual labels:  sample
spigot-bending
Minecraft plugin that allows players to bend elements as in the series
Stars: ✭ 14 (-22.22%)
Mutual labels:  elements
The-HTML-and-CSS-Workshop
A New, Interactive Approach to Learning HTML and CSS
Stars: ✭ 65 (+261.11%)
Mutual labels:  webcomponents
cap-sflight
Using SAP Cloud Application Programming Model and SAP Fiori elements to build a simple travel management app, both with Node.js and Java.
Stars: ✭ 65 (+261.11%)
Mutual labels:  sample
starter-simba
Lion-based Design System
Stars: ✭ 18 (+0%)
Mutual labels:  webcomponents
Cofoundry.Samples.SPASite
A simple single page application using Cofoundry as a headless CMS
Stars: ✭ 30 (+66.67%)
Mutual labels:  sample

AngularElementsSample

This project was generated with Angular CLI version 1.6.0. and demonstrates how web components can be generated using standard angular components

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/.

How to implement

Please review the commits, I've created step by step commits.

How to use

After build npm run build there will be three js files (inline.bundle.js, main.bundle.js, styles.bundle.js) include them in any html file and you will have access to your web components, created in angular!

@angular/elements

this package is coppied from angular repository labs/elements branch, it's folder can be removed after this package will be released and will be available on npm

Summarize

We don't have bootstrap component in AppModule, instead of that we can have any number of entry components and they all will be web components!

For demonstration I've commented standard app-root component in index.html and placed multiple app-like-button components.

To create more web components using angular, just generate new component ng g component my-new-comp and place in AppModule's entryComponent's list, thats it, really simple :)

Video

IMAGE ALT TEXT HERE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].