Studying ActiveWidgets Framework
Hi, Alex and AW fans
I spent lots of time on the source of ActiveWidgets recently. that is an amazing artwork and that is not any kind of flattering:).
when i moved on to the Active.System.HTML class, i got some doubts listed below:
1. what is the usage of .$owner and _parent variable in the init function body?
2. in line 188, while setClass method is invoked, is there neccessary to consider the parameter 'value' as a function? i do not think it make any sense since the value of class attribute of a HTML element is always String. who can tell me why?
thanks a lot!!
i like AW, it is the most neat and beautiful JS OO framework i never seen! thanks for you guys' contribution!
I spent lots of time on the source of ActiveWidgets recently. that is an amazing artwork and that is not any kind of flattering:).
when i moved on to the Active.System.HTML class, i got some doubts listed below:
1. what is the usage of .$owner and _parent variable in the init function body?
2. in line 188, while setClass method is invoked, is there neccessary to consider the parameter 'value' as a function? i do not think it make any sense since the value of class attribute of a HTML element is always String. who can tell me why?
thanks a lot!!
i like AW, it is the most neat and beautiful JS OO framework i never seen! thanks for you guys' contribution!
CopenHagen
May 11,