Skip to content

Commit 34519b1

Browse files
author
Dave Conway-Jones
committed
slight tidy of ui-iframe example 4
1 parent 6071cab commit 34519b1

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

node-red-node-ui-iframe/examples/04 - Scale embedded web page.json

+23-23
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
{
33
"id": "a8ba498b.33a468",
44
"type": "ui_iframe",
5-
"z": "89becf3.5c6133",
5+
"z": "e264831f.61b8d",
66
"group": "6467854a.60785c",
77
"name": "",
88
"order": 1,
9-
"width": 20,
10-
"height": 12,
9+
"width": "16",
10+
"height": "9",
1111
"url": "http://nodered.org",
1212
"origin": "*",
1313
"scale": "100",
14-
"x": 610,
15-
"y": 440,
14+
"x": 590,
15+
"y": 140,
1616
"wires": [
1717
[]
1818
]
1919
},
2020
{
2121
"id": "ade9c361.85d6c",
2222
"type": "ui_slider",
23-
"z": "89becf3.5c6133",
23+
"z": "e264831f.61b8d",
2424
"name": "",
2525
"label": "Scale",
2626
"tooltip": "",
@@ -32,11 +32,11 @@
3232
"outs": "all",
3333
"topic": "topic",
3434
"topicType": "msg",
35-
"min": 0,
36-
"max": "100",
35+
"min": "25",
36+
"max": "125",
3737
"step": 1,
38-
"x": 270,
39-
"y": 480,
38+
"x": 250,
39+
"y": 180,
4040
"wires": [
4141
[
4242
"e3756b0b.2153a8",
@@ -47,7 +47,7 @@
4747
{
4848
"id": "6197d43f.97de3c",
4949
"type": "change",
50-
"z": "89becf3.5c6133",
50+
"z": "e264831f.61b8d",
5151
"name": "",
5252
"rules": [
5353
{
@@ -63,8 +63,8 @@
6363
"from": "",
6464
"to": "",
6565
"reg": false,
66-
"x": 440,
67-
"y": 440,
66+
"x": 420,
67+
"y": 140,
6868
"wires": [
6969
[
7070
"a8ba498b.33a468"
@@ -74,7 +74,7 @@
7474
{
7575
"id": "3d635006.bd029",
7676
"type": "inject",
77-
"z": "89becf3.5c6133",
77+
"z": "e264831f.61b8d",
7878
"name": "",
7979
"props": [
8080
{
@@ -92,8 +92,8 @@
9292
"topic": "",
9393
"payload": "56",
9494
"payloadType": "num",
95-
"x": 130,
96-
"y": 480,
95+
"x": 110,
96+
"y": 180,
9797
"wires": [
9898
[
9999
"ade9c361.85d6c"
@@ -103,7 +103,7 @@
103103
{
104104
"id": "e3756b0b.2153a8",
105105
"type": "ui_text",
106-
"z": "89becf3.5c6133",
106+
"z": "e264831f.61b8d",
107107
"group": "6467854a.60785c",
108108
"order": 3,
109109
"width": "1",
@@ -112,18 +112,18 @@
112112
"label": "",
113113
"format": "{{msg.payload}}%",
114114
"layout": "row-spread",
115-
"x": 410,
116-
"y": 480,
115+
"x": 390,
116+
"y": 180,
117117
"wires": []
118118
},
119119
{
120120
"id": "c20c12a5.5b655",
121121
"type": "comment",
122-
"z": "89becf3.5c6133",
122+
"z": "e264831f.61b8d",
123123
"name": "Scale embedded web page by slider value",
124124
"info": "",
125-
"x": 220,
126-
"y": 400,
125+
"x": 200,
126+
"y": 100,
127127
"wires": []
128128
},
129129
{
@@ -133,7 +133,7 @@
133133
"tab": "d2d722c.92e12e",
134134
"order": 1,
135135
"disp": true,
136-
"width": "20",
136+
"width": "16",
137137
"collapse": false
138138
},
139139
{

node-red-node-ui-iframe/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-node-ui-iframe",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Node-RED UI widget node for embedding web page",
55
"author": "Hiroyasu Nishiyama",
66
"contributors": [

node-red-node-ui-microphone/ui_microphone.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module.exports = function(RED) {
8383
*/
8484
initController: function($scope) {
8585
var isAudio = true;
86-
86+
8787
$scope.init = function (config) {
8888
//console.log("ui_microphone: initialised config:",config);
8989
$scope.config = config;

0 commit comments

Comments
 (0)