Skip to content

Commit

Permalink
slight tidy of ui-iframe example 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Mar 22, 2021
1 parent 6071cab commit 34519b1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
46 changes: 23 additions & 23 deletions node-red-node-ui-iframe/examples/04 - Scale embedded web page.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
{
"id": "a8ba498b.33a468",
"type": "ui_iframe",
"z": "89becf3.5c6133",
"z": "e264831f.61b8d",
"group": "6467854a.60785c",
"name": "",
"order": 1,
"width": 20,
"height": 12,
"width": "16",
"height": "9",
"url": "http:https://nodered.org",
"origin": "*",
"scale": "100",
"x": 610,
"y": 440,
"x": 590,
"y": 140,
"wires": [
[]
]
},
{
"id": "ade9c361.85d6c",
"type": "ui_slider",
"z": "89becf3.5c6133",
"z": "e264831f.61b8d",
"name": "",
"label": "Scale",
"tooltip": "",
Expand All @@ -32,11 +32,11 @@
"outs": "all",
"topic": "topic",
"topicType": "msg",
"min": 0,
"max": "100",
"min": "25",
"max": "125",
"step": 1,
"x": 270,
"y": 480,
"x": 250,
"y": 180,
"wires": [
[
"e3756b0b.2153a8",
Expand All @@ -47,7 +47,7 @@
{
"id": "6197d43f.97de3c",
"type": "change",
"z": "89becf3.5c6133",
"z": "e264831f.61b8d",
"name": "",
"rules": [
{
Expand All @@ -63,8 +63,8 @@
"from": "",
"to": "",
"reg": false,
"x": 440,
"y": 440,
"x": 420,
"y": 140,
"wires": [
[
"a8ba498b.33a468"
Expand All @@ -74,7 +74,7 @@
{
"id": "3d635006.bd029",
"type": "inject",
"z": "89becf3.5c6133",
"z": "e264831f.61b8d",
"name": "",
"props": [
{
Expand All @@ -92,8 +92,8 @@
"topic": "",
"payload": "56",
"payloadType": "num",
"x": 130,
"y": 480,
"x": 110,
"y": 180,
"wires": [
[
"ade9c361.85d6c"
Expand All @@ -103,7 +103,7 @@
{
"id": "e3756b0b.2153a8",
"type": "ui_text",
"z": "89becf3.5c6133",
"z": "e264831f.61b8d",
"group": "6467854a.60785c",
"order": 3,
"width": "1",
Expand All @@ -112,18 +112,18 @@
"label": "",
"format": "{{msg.payload}}%",
"layout": "row-spread",
"x": 410,
"y": 480,
"x": 390,
"y": 180,
"wires": []
},
{
"id": "c20c12a5.5b655",
"type": "comment",
"z": "89becf3.5c6133",
"z": "e264831f.61b8d",
"name": "Scale embedded web page by slider value",
"info": "",
"x": 220,
"y": 400,
"x": 200,
"y": 100,
"wires": []
},
{
Expand All @@ -133,7 +133,7 @@
"tab": "d2d722c.92e12e",
"order": 1,
"disp": true,
"width": "20",
"width": "16",
"collapse": false
},
{
Expand Down
2 changes: 1 addition & 1 deletion node-red-node-ui-iframe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-node-ui-iframe",
"version": "0.2.0",
"version": "0.2.1",
"description": "Node-RED UI widget node for embedding web page",
"author": "Hiroyasu Nishiyama",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion node-red-node-ui-microphone/ui_microphone.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = function(RED) {
*/
initController: function($scope) {
var isAudio = true;

$scope.init = function (config) {
//console.log("ui_microphone: initialised config:",config);
$scope.config = config;
Expand Down

0 comments on commit 34519b1

Please sign in to comment.