-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathweaviate-element-weaviate.actions.get.html
45 lines (40 loc) · 1.9 KB
/
weaviate-element-weaviate.actions.get.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
<!--
▝ ▗ ▝▜ ▗
▖ ▖ ▄▖ ▄▖ ▗ ▗ ▗▄ ▄▖ ▗▟▄ ▄▖ ▄▖ ▐ ▄▖ ▗▄▄ ▄▖ ▗▗▖ ▗▟▄
▚▗▗▘▐▘▐ ▝ ▐ ▝▖▞ ▐ ▝ ▐ ▐ ▐▘▐ ▐▘▐ ▐ ▐▘▐ ▐▐▐ ▐▘▐ ▐▘▐ ▐
▐▟▟ ▐▀▀ ▗▀▜ ▙▌ ▐ ▗▀▜ ▐ ▐▀▀ ▀▘ ▐▀▀ ▐ ▐▀▀ ▐▐▐ ▐▀▀ ▐ ▐ ▐
▌▌ ▝▙▞ ▝▄▜ ▐ ▗▟▄ ▝▄▜ ▝▄ ▝▙▞ ▝▙▞ ▝▄ ▝▙▞ ▐▐▐ ▝▙▞ ▐ ▐ ▝▄
https://github.com/ING-Internet-of-Things/weaviate-element
-->
<!—- WEAVIATE ID: weaviate.actions.get -—>
<!—- DESCRIPTION: Lists actions. -—>
<!—- THIS DOCUMENT IS AUTO GENERATED, UPDATE THE GENERATOR FILE TO CHANGE IT —->
<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html">
<link rel="import" href="../../weaviate-element.html">
<dom-module id="weaviate-element-weaviate.actions.get">
<template>
<style>
:host {
display: block;
}
</style>
<content></content>
<iron-ajax auto url="/weaviate/v1/actions/[[actionId]]" handle-as="json" last-response="{{response}}" on-response="onResponse" id="xhr"></iron-ajax>
</template>
<script>
Polymer({
is: "weaviate-element-weaviate.actions.get",
properties: {
actionId: { type: String, notify: true },
response: {
type: String
}
},
onResponse: function(response){
var result = response.detail.response;
this.fire('set-data', result)
}
})
</script>
</dom-module>