How to use the @hpcc-js/common.HTMLWidget function in @hpcc-js/common

To help you get started, we’ve selected a few @hpcc-js/common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / demos / gallery / src-umd / gallery.js View on Github external
.style("margin-top", "0px")
                .style("margin-left", "4px")
                .style("margin-bottom", "0px")
                .html(function (d) { return hrefPath(d.path, depth); });
            titleDiv.append("a")
                .style("float", "right")
                .style("margin-right", "4px")
                .attr("href", function (d) { return "./playground.html?" + d.path; })
                .text("playground");
            samples.exit().remove();
        };
        __decorate([
            common_1.publish("", "string")
        ], App.prototype, "_default", void 0);
        return App;
    }(common_1.HTMLWidget));
    exports.App = App;
});
github hpcc-systems / Visualization / demos / gallery / src-umd / DemoWidget.js View on Github external
.resize()
                    .render();
            }
        };
        DemoWidget.prototype.changed = function (widget) {
        };
        DemoWidget.prototype.debugSystem = function () {
            var keysItr = System.registry.keys();
            var k = keysItr.next();
            while (!k.done) {
                console.log(k.value);
                k = keysItr.next();
            }
        };
        return DemoWidget;
    }(common_1.HTMLWidget));
    exports.DemoWidget = DemoWidget;
});
github hpcc-systems / Visualization / demos / gallery / lib-umd / gallery.js View on Github external
.style("margin-top", "0px")
                .style("margin-left", "4px")
                .style("margin-bottom", "0px")
                .text(function (d) { return d.name; });
            titleDiv.append("a")
                .style("float", "right")
                .style("margin-right", "4px")
                .attr("href", function (d) { return "./playground.html?" + d.path; })
                .text("playground");
            samples.exit().remove();
        };
        __decorate([
            common_1.publish("", "string")
        ], App.prototype, "_default", void 0);
        return App;
    }(common_1.HTMLWidget));
    exports.App = App;
});
//# sourceMappingURL=gallery.js.map
github hpcc-systems / Visualization / demos / playground / lib-umd / DemoWidget.js View on Github external
System.registry.delete(System.normalizeSync("cm_editor_" + _this._errCount++ + "!./plugins/cm.js"));
                });
            }
        };
        DemoWidget.prototype.changed = function (widget) {
        };
        DemoWidget.prototype.debugSystem = function () {
            var keysItr = System.registry.keys();
            var k = keysItr.next();
            while (!k.done) {
                console.log(k.value);
                k = keysItr.next();
            }
        };
        return DemoWidget;
    }(common_1.HTMLWidget));
    exports.DemoWidget = DemoWidget;
});
//# sourceMappingURL=DemoWidget.js.map