Creating Custom Widgets

Alex (@alex)

58112

0

6

About This Space

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


Last updated on July 3, 2019

Public Permissions:   View   Open/Fork   Run   Comment  

Custom Widgets

This space 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

More Spaces By Alex (@alex)

Filters:

Popular Recent

PLUS 2019 Guided Lab. IT Service Request Application.

35089

0

0

Collects information from an online form into a database

34324

0

0

34086

0

0

This lab walks you through building a series of Node.js applications that work with employee data.

38263

0

0

A Hello World app with both dynamic output and input fields

27600

0

0

Simple example of a real world business application

27031

0

0

Test Space for React

43359

0

0

Test Space for React

43458

0

0

This is a Tic Tac Toe game built with React.js

60299

0

3

React.js Application

43535

0

1