# How to make the dashboard-button in dashboard receive press&hold input

**URL:** https://discourse.nodered.org/t/how-to-make-the-dashboard-button-in-dashboard-receive-press-hold-input/86205
**Category:** General
**Tags:** node-red-dashboard, function-node
**Created:** [6 March 2024 19:08 UTC](https://discourse.nodered.org/t/how-to-make-the-dashboard-button-in-dashboard-receive-press-hold-input/86205 "2024-03-06T19:08:36Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [6 March 2024 19:23 UTC](https://discourse.nodered.org/t/how-to-make-the-dashboard-button-in-dashboard-receive-press-hold-input/86205/3 "2024-03-06T19:23:00Z")

</div>

I think this demo is more up-to-date (and supports mobile/touch: [Adding `output` function to buttons designed in `template` node - #65 by Steve-Mcl](https://discourse.nodered.org/t/adding-output-function-to-buttons-designed-in-template-node/25591/65)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-make-the-dashboard-button-in-dashboard-receive-press-hold-input/86205)._
