npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@icke1983/node-red-contrib-ui-multistyle-button

v1.2.0

Published

Node-RED UI widget button that can be styled by input

Downloads

59

Readme

node-red-contrib-ui-multistyle-button Readme

node-red-contrib-ui-multistyle-button is a button for the Node-RED Dashboard that can be styled by input

Install

Directly in Node-RED via palette manager

Start Node-RED

Select 'Manage palette' from menu top-right

Click on the Install tab

Search for ui-multistyle-button in the searchbar and find node-red-contrib-ui-multistyle-button

Manual install

Run command on Node-RED installation directory.

npm install node-red-contrib-ui-multistyle-button

Usage

That Button can be styled by the input. Therfor you have to specify the styleoptions of any value, you want. Set the default style.

default_style Example

For each added value, you can set the style-properties separately.

values Example

You can use fa-icons, mi-icon and all other icons that are installed.

The colors can be specified by name (e.g. red), by HEX code (e.g. #FF0000) or by rgb-command (e.g. rgb (255, 0, 0) ). Also the color can get the value of a 'msg.object'. Therfor set the colorfield to {{msg.color}}

Enable shadows for the icon an thh text seperatly.

shadow Example

Add an additional Label into one corner of the button.

second_label Example

Leave blank the styleoptions if you don't want to specify them.

Determine which 'msg.object' should be considered. It can also be any other object than 'msg.payload'. You can look at 'msg.payload.power' for example. Set the option for behavior when no match is found. Set the option for use or ignore cases of the value letters

msg_object Example

Determine the value and the destination 'msg.object' which will be sent at buttonclick. you can send a string, a number, a bool value or the value of an input 'msg.objeck' send_value Example

Special strings are toggle on off or toggle true false. That will toggle the selected input 'msg.object' to the output at buttonclick. special_strings Example

License

The MIT License