Sha256: 47fe365da5b0c540350cf6f8d8844d4489a53b1f64d72fedcf33f206522dd4c7
Contents?: true
Size: 649 Bytes
Versions: 13
Compression:
Stored size: 649 Bytes
Contents
@UiBibzInterface = class Interface constructor: -> @nav() @tooltip() @dropdown() @checkbox() nav: -> $('.nav-tabs a').click (e) -> e.preventDefault() $(this).tab('show') tooltip: -> $('[data-toggle="tooltip"]').tooltip() dropdown: -> $('.dropdown-toggle').dropdown() checkbox: -> $('.abc-checkbox.indeterminate input[type=checkbox]').on 'click', -> el = $(this) if (el.attr('readonly') == 'readonly') el.prop('checked', false) el.prop('readonly', false) else if (!el.is(':checked')) el.prop('readonly', true) el.prop('indeterminate', true)
Version data entries
13 entries across 13 versions & 1 rubygems