mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01:00
19 lines
414 B
JavaScript
19 lines
414 B
JavaScript
|
/**
|
||
|
* @provides phabricator-uiexample-reactor-focus
|
||
|
* @requires javelin-install
|
||
|
* javelin-view
|
||
|
* javelin-util
|
||
|
* 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))];
|
||
|
}
|
||
|
}
|
||
|
});
|