# Nodes that run on client side

**URL:** https://discourse.nodered.org/t/nodes-that-run-on-client-side/7005
**Category:** General
**Created:** [19 January 2019 07:45 UTC](https://discourse.nodered.org/t/nodes-that-run-on-client-side/7005 "2019-01-19T07:45:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [19 January 2019 09:12 UTC](https://discourse.nodered.org/t/nodes-that-run-on-client-side/7005/2 "2019-01-19T09:12:58Z")

</div>

Hi Derek,

I 'think' there are currently a couple of ways of achieving this, depending on your use case:

- **In the Node-RED dashboard** : recently version [2.10.0](https://discourse.nodered.org/t/announce-dashboard-version-2-10-0/4196) of the Node-RED dashboard was released, which offers a Widget API. That can be used to create your own widget in the dashboard. In the .js file, there is a HTML function where you can generate Javascript code (as a string) that will run in the browser.

- **In the Node-RED flow editor** : every Node-RED node can have Javascript that runs in the browser (as defined in it's .html file), but that is - I think - only active when you have the node's config screen open.

Perhaps you can explain a bit more what you are trying to build ...

---

_[View the full topic](https://discourse.nodered.org/t/nodes-that-run-on-client-side/7005)._
