About This Space

This workspace shows you how to add custom widgets to your project


Last updated on November 9, 2019

Public Permissions:   View   Open/Fork   Run   Comment  

Custom Widgets Template

This template shows you how to create your own custom widgets for the Visual Designer in NodeRun.

Widget Sets

Widgets are organized in sets. In your workspace, you can easily add, remove, or modify the sets that you need for a specific task or project. This is done by using the options located on the Widget Sets toolbar.

Screenshot

Creating New Widgets

New widgets can be created visually by setting properties on an existing base widget and optionally adding your own CSS and JavaScript code. To link to your custom code, use the "external css" and "external javascript" screen level properties.

In the Visual Designer, configure any look-and-feel and behavior properties for a base widget. This can include adding your own custom CSS classes. Then, right-click the widget and select Add to Set.

Screenshot

To see a complete list of base widgets, switch to the All Widgets tab.

Renaming Widgets

Once a widget has been added to a set, you can give it a name by right-click the widget in the set and selecting Rename.

Changing the Icon

To change a custom widget icon, right-click the widget and select Change icon. You can upload custom icons into the public directory of your workspace.

Reordering Widgets

To rearrange the order of the widgets, click the Reorder option on the toolbar to enable it, and then move the widgets around as necessary. After you've finished rearranging the widgets, click the Reorder option again to disable it.

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

Filters:

Popular Recent

Collects information from an online form into a database. test

3729

0

0

4313

0

0

Stateless demo app, where the mobile client or the browser would control the flow of the application

3861

0

0

Just a cool demo of how to use other npm packages on NodeRun!

3723

0

0

A simple Demo of how to deploy EJS templates from a stateful Node.js script

3868

0

0

Demo app to use EJS to display information from a database

4310

0

0

Application to output numbers and their squares to the console

4133

0

0

This is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).

3946

0

0

This workspace illustrates the basic setup of an HTML page that includes external JavaScript and CSS files

4116

0

0

Simple output to a browser from Node.js

4271

0

0

Static HTML Hello World App

3810

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

4317

0

0