Sha256: ec549da6fa6f7ea662dbc15c7fd1bda2d5579def611b3544b736889d6435dd2d
Contents?: true
Size: 1 KB
Versions: 22
Compression:
Stored size: 1 KB
Contents
// ========================================================================== // SC.CheckboxView // ========================================================================== require('views/button/button'); /** @class Renders a checkbox button view specifically. This view is basically a button view preconfigured to generate the correct HTML and to set to use a TOGGLE_BEHAVIOR for its buttons. This view renders a simulated checkbox that can display a mixed state and has other features not found in platform-native controls. If you want to use the platform native version instead, see SC.CheckboxFieldView. @extends SC.ButtonView @author Charles Jolley @version 1.0 */ SC.CheckboxView = SC.ButtonView.extend( /** @scope SC.CheckboxView.prototype */ { emptyElement: '<a href="javascript:;" class="sc-checkbox-view sc-button-view button checkbox"><img src="%@" class="button" /><span class="label"></span></a>'.fmt(static_url('blank')), buttonBehavior: SC.TOGGLE_BEHAVIOR }) ;
Version data entries
22 entries across 22 versions & 1 rubygems