1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/webroot/rsrc/js/application/uiexample/ReactorFocusExample.js

17 lines
362 B
JavaScript
Raw Normal View History

/**
* @provides phabricator-uiexample-reactor-focus
* @requires javelin-install
* javelin-dom
* javelin-reactor-dom
*/
JX.install('ReactorFocusExample', {
extend: 'View',
members: {
render: function(rendered_children) {
var input = JX.$N('input');
return [input, JX.RDOM.$DT(JX.RDOM.hasFocus(input))];
}
}
});