-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasq-configuration.html
56 lines (48 loc) · 1.26 KB
/
asq-configuration.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
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../asq-base/asq-base.html">
<!--
TODO
@element asq-configuration
@group ASQ Elements
@homepage http://github.com/ASQ-USI/asq-configuration
-->
<polymer-element name="asq-configuration" hidden>
<script>
(function() {
var p = {
publish: {
/**
* The maximum number of submissions that are allowed.
*
* 0 -> infinite
*
* [1-9]+[0-9]* -> finite
*
* @attribute maxnumsubmissions
* @type number
* @default 0
*/
maxnumsubmissions: {value: 0, reflect: true},
/**
* Options are *self* and *follow*.
*
* @attribute slideflow
* @type 'follow' | 'self'
* @default 'follow'
*/
slideflow: {value: 'follow', reflect: true},
/**
* assessment
*
* @attribute assessment
* @type 'self' | 'peer' | 'staff'
* @default 'self'
*/
assessment: {value: 'self', reflect: true},
}
}
ASQ.asqify(p);
Polymer('asq-configuration', p);
})();
</script>
</polymer-element>