HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Help => Topic started by: pim555 on December 20, 2015, 10:40:51 PM

Title: How to get program option in Widget
Post by: pim555 on December 20, 2015, 10:40:51 PM
Hi,

I would like to retrieve a program option value in the widget js code. How can I best do that?

Where is this documented?

Cheers
Pim
Title: Re: How to get program option in Widget
Post by: maxflax on January 04, 2016, 02:31:41 AM
Getting a option in widget js code you use

HG.WebApp.Utility.GetModulePropertyByName

and it should be documented here
http://genielabs.github.io/HomeGenie/widgets.html (http://genielabs.github.io/HomeGenie/widgets.html)