Page MenuHomestyx hydra

ReactorRadioExample.js
No OneTemporary

ReactorRadioExample.js

/**
* @provides phabricator-uiexample-reactor-radio
* @requires javelin-install
* javelin-view
* javelin-util
* javelin-dom
* javelin-reactor-dom
*/
JX.install('ReactorRadioExample', {
extend: 'View',
members: {
render: function(rendered_children) {
var radio_one = JX.$N('input', {type: 'radio', name: 'n', value: 'one'});
var radio_two = JX.$N('input', {type: 'radio', name: 'n', value: 'two'});
radio_one.checked = true;
return [
radio_one,
radio_two,
JX.RDOM.$DT(JX.RDOM.radio([radio_one, radio_two]))
];
}
}
});

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 15, 1:57 AM (22 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
614320
Default Alt Text
ReactorRadioExample.js (635 B)

Event Timeline