Skip to content

A paper-button which sends a message to the bundle it is within

Notifications You must be signed in to change notification settings

ProbablePrime/nodecg-message-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#nodecg-message-button

A NodeCG dashboard element to send a message to a bundle.

The message is sent to the bundle that the dashboard panel utilizing the element belongs to.

Usage

Import the element: <link rel="import" href="components/nodecg-message-button/nodecg-message-button.html">

Use the element: <nodecg-message-button class="danger" raised message="show">Show</nodecg-message-button>

The above will send a message "show" to the bundle.

TODO:

  • Docs
  • Make this a behaviour so other elements can use the behaviour to send messages? then make this button use that behaviour?

About

A paper-button which sends a message to the bundle it is within

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages