[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 /** 2 * @provides phabricator-uiexample-reactor-input 3 * @requires javelin-install 4 * javelin-reactor-dom 5 * javelin-view-html 6 * javelin-view-interpreter 7 * javelin-view-renderer 8 */ 9 10 JX.install('ReactorInputExample', { 11 extend: 'View', 12 members: { 13 render: function() { 14 var html = JX.HTMLView.registerToInterpreter(new JX.ViewInterpreter()); 15 16 var raw_input = JX.ViewRenderer.render( 17 html.input({ value: this.getAttr('init') }) 18 ); 19 var input = JX.RDOM.input(raw_input); 20 21 return JX.ViewRenderer.render( 22 html.div( 23 raw_input, 24 html.br(), 25 html.span(JX.RDOM.$DT(input)), 26 html.br(), 27 html.span(JX.RDOM.$DT(input.calm(500))) 28 ) 29 ); 30 } 31 } 32 });
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |