mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01:00
19 lines
444 B
JavaScript
19 lines
444 B
JavaScript
|
/**
|
||
|
* @provides phabricator-uiexample-reactor-mouseover
|
||
|
* @requires javelin-install
|
||
|
* javelin-view
|
||
|
* javelin-util
|
||
|
* javelin-dom
|
||
|
* javelin-reactor-dom
|
||
|
*/
|
||
|
|
||
|
JX.install('ReactorMouseoverExample', {
|
||
|
extend: 'View',
|
||
|
members: {
|
||
|
render: function(rendered_children) {
|
||
|
var target = JX.$N("span", "mouseover me ");
|
||
|
return [target, JX.RDOM.$DT(JX.RDOM.isMouseOver(target))];
|
||
|
}
|
||
|
}
|
||
|
});
|