Color over-ride

Recommend this page to a friend!

      CoolLedMatrix  >  All threads  >  Color over-ride  >  (Un) Subscribe thread alerts  
Subject:Color over-ride
Summary:Allow for color setting as optional 4th argument
Messages:2
Author:Paul Johnston
Date:2015-12-18 18:10:11
 

  1. Color over-ride   Reply   Report abuse  
Picture of Paul Johnston Paul Johnston - 2015-12-18 18:10:11
var led0 = new CoolLedMatrix("#led-container", 0, symbols.cross,"yellow");

So each symbol still has a default color but allow for over-rides.

  2. Re: Color over-ride   Reply   Report abuse  
Picture of Joseluis Laso Joseluis Laso - 2015-12-18 19:22:48 - In reply to message 1 from Paul Johnston
I like it. Thanks