Sha256: f038b54a664c4d02a030d69373eefbd25198f6e71b3ee68d9cd5d6bf6e51ae2a
Contents?: true
Size: 343 Bytes
Versions: 5
Compression:
Stored size: 343 Bytes
Contents
class TableCheckboxes constructor: (el) -> $el = $(el) $mainContainer = $el.closest('table') $el.on 'click', (event, element)-> check = if $el.is(':checked') then true else false $mainContainer.find('.rs').each -> $(@).prop('checked', check) Handlers.register 'TableCheckboxes', TableCheckboxes
Version data entries
5 entries across 5 versions & 1 rubygems