Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TW.IDE.Widgets.progressgauge = function () {
- this.widgetIconUrl = function() {
- return "../Common/extensions/HighCharts_ExtensionPackage/ui/highcharts/highcharts.ide.png";
- };
- this.widgetProperties = function () {
- return {
- "name": "Hello, World!",
- "description": "An example widget.",
- "category": ['Charts'],
- "properties": {
- "DisplayText": {
- "baseType": "STRING",
- "defaultValue": "Hello, World!",
- "isBindingTarget": true
- }
- }
- };
- };
- this.renderHtml = function () {
- return "<div class=\"widget-content widget-helloWorld\">" +
- "<span class=\"DisplayText\">" + this.getProperty("DisplayText") + "</span>" +
- "</div>";
- };
- this.afterSetProperty = function (name, value) {
- return true;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement