1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 05:42:40 +01:00
phorge-phorge/webroot/rsrc/js/application/uiexample/ReactorSendClassExample.js

19 lines
447 B
JavaScript
Raw Normal View History

/**
* @provides phabricator-uiexample-reactor-sendclass
* @requires javelin-install
* javelin-dom
* javelin-reactor-dom
*/
JX.install('ReactorSendClassExample', {
extend: 'View',
members: {
render: function() {
var input = JX.$N('input', { type: 'checkbox' });
var span = JX.$N('a', 'Hey');
JX.RDOM.sendClass(JX.RDOM.checkbox(input), span, 'disabled');
return [input, span];
}
}
});