[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/webroot/rsrc/js/application/uiexample/ -> ReactorSendClassExample.js (source)

   1  /**
   2   * @provides phabricator-uiexample-reactor-sendclass
   3   * @requires javelin-install
   4   *           javelin-dom
   5   *           javelin-reactor-dom
   6   */
   7  
   8  JX.install('ReactorSendClassExample', {
   9    extend: 'View',
  10    members: {
  11      render: function() {
  12        var input = JX.$N('input', { type: 'checkbox' });
  13        var span = JX.$N('a', 'Hey');
  14        JX.RDOM.sendClass(JX.RDOM.checkbox(input), span, 'disabled');
  15        return [input, span];
  16      }
  17    }
  18  });


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1