« Return to Thread: Writing attribute based setters in JS2

Writing attribute based setters in JS2

by Raju Bitter-3 :: Rate this Message:

Reply to Author | View in Thread

Hi all,

How can I define the setter for an attribute in JS2 syntax?

<attribute name="url" value="" type="string" setter="this._setUrl(url)"/

Where are the setters for a class attribute stored?

Thanks,
Raju


 « Return to Thread: Writing attribute based setters in JS2

LightInTheBox - Buy quality products at wholesale price!