<< 20160707-migrate-davaz-com-dojo-widgets | Index | 20160705-migrate-davaz-com-dojo-to-17 >>
Yesterday, I could migrate almost a big custom widget Ticker to Dojo 1.7.
This widget animation has still a little strange behavior. But it works.
(frame rate is low)
I have to upgared today also following other widgets.
startup
is not called (automatically) by default. (You must call by your self))
So, I've used postCreate
.
* startup If you need to be sure parsing and creation of any child widgets has completed, use startup. This is often used for layout widgets like BorderContainer. If the widget does JS sizing, then startup() should call resize(), which does the sizing.
See here about lifecycle of WidgetBase
* http://dojotoolkit.org/reference-guide/1.10/dijit/_WidgetBase.html#lifecycle
use _WidgetsInTemplateMixin
I could make oneliner to work :-D
But, on Top page, If I put PhotoDavaz Component and PicBottleneck Component, then OneLiner script does not work.
It seems that dojo_tooltip
is problem for this dojo widget.
dojo_tooltip in PhotoDavaz class [src code, on repo]
In current production, this tooltip does not work.