mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +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))];
|
||
|
}
|
||
|
}
|
||
|
});
|