forked from vaadin/vaadin-element-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvaadin-element.html
53 lines (46 loc) · 1.11 KB
/
vaadin-element.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!--
@license
Copyright (c) 2017 Vaadin Ltd.
This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
-->
<link rel="import" href="../polymer/polymer-element.html">
<link rel="import" href="../vaadin-themable-mixin/vaadin-themable-mixin.html">
<dom-module id="vaadin-element">
<template>
<style>
:host {
display: inline-block;
}
</style>
<slot></slot>
</template>
<script>
{
/**
* `<vaadin-element>` is a Polymer 2 element.
*
* ```
* <vaadin-element></vaadin-element>
* ```
*
* @memberof Vaadin
* @demo demo/index.html
*/
class VaadinElement extends Vaadin.ThemableMixin(Polymer.Element) {
static get is() {
return 'vaadin-element';
}
static get properties() {
return {
};
}
}
customElements.define(VaadinElement.is, VaadinElement);
/**
* @namespace Vaadin
*/
window.Vaadin = window.Vaadin || {};
Vaadin.VaadinElement = VaadinElement;
}
</script>
</dom-module>