-
Notifications
You must be signed in to change notification settings - Fork 2
/
komica-proto.html
59 lines (49 loc) · 1.18 KB
/
komica-proto.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
54
55
56
57
58
59
<link rel="import" href="../../polymer/polymer.html">
<!--
##### Example
<x-helloworld></x-helloworld>
@element x-helloworld
@blurb Element providing solution to [...].
@status [...]
@homepage https://.../x-helloworld
-->
<polymer-element name="komica-" attributes="attr">
<template>
<link rel="stylesheet" href="komica-.css">
<div id="title">{{title}}</div>
<content></content>
</template>
<script>
Polymer('komica-', {
/**
* The `noevent` event is not actually fired from here,
* we document it as an example of documenting events.
*
* @event noevent
*/
/**
* The `attr` attribute does not yet have a purpose.
*
* @attribute attr
* @type string
*/
attr: '',
ready: function() {
},
/**
* This function will be invoked every time `attr` gets changed.
*/
attrChanged: function() {
},
/**
* The `task` method does [...]
*
* @method task
* @return {Object} Returns [...].
* @param {String} dummy Defines [...].
*/
task: function(dummy) {
}
});
</script>
</polymer-element>