Hi, this might be a stupid question, but how can I use the Property class in the script api.
Hi, this might be a stupid question, but how can I use the Property class in the script api. alert(Property) gives an error saying “Property is not defined”, so it doesn’t work like the EventHandler class.
Thanks in advance π
Colin
]]>« Does Lightning Launcher become Top Developer at least!? (Previous Post)
< ![CDATA[
Property is not meant to be used this way: it holds a collection of constant values that you can use in various ways. For instance you may use some_item.setBinding(Property.PROP_CELL_LEFT, “some_value”, true);
The EventHandler is different because it has a constructor, Property cannot be instanciated.
]]>
< ![CDATA[
aha. using that exact line with a real item still gives the same error though. maybe a bug?
]]>
< ![CDATA[
OMG, yes without any doubt π
]]>
< ![CDATA[
fixed!
]]>
< ![CDATA[
Thanks!
]]>