Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>WebComponents</title>
<base href="https://polygit.org/shadydom+webcomponents+:master/shadycss+webcomponents+:master/custom-elements+webcomponents+:master/webcomponentsjs+webcomponents+:master/components/">
<script src="webcomponentsjs/webcomponents-loader.js"></script>
<script>
window.addEventListener('WebComponentsReady', function() {
console.log('WebComponentsReady');
})
@CaptainCodeman
CaptainCodeman / index.html
Created September 10, 2016 16:45
Polymer 2.0 Element
<!doctype html>
<head>
<base href="https://polygit.org/polymer+:2.0-preview/webcomponentsjs+webcomponents+:v1/custom-elements+webcomponents+*/shadydom+webcomponents+*/shadycss+webcomponents+*/components/">
<script src="webcomponentsjs/webcomponents-lite.js"></script>
<link href="polymer/polymer-element.html" rel="import">
</head>
<body>
x-app: <x-app></x-app>
<dom-module id="x-app">