Demo of modifying DroidScript objects (Layout and Button) to add method chaining, this demo reduces the "Button Styles" demo to one [very long] line. Uses JS Reflect object and spread operator, which may not be available in all JavaScript engines.
Demo of modifying DroidScript objects (Layout and Button) to add method chaining, this demo reduces the "Button Styles" demo to one [very long] line. Uses JS Reflect object and spread operator, which may not be available in all JavaScript engines.