Sha256: d34c18f9c8f85932eadd4d1c7dbd815fc04531a87c667fd2aac7cc5fe847369c
Contents?: true
Size: 475 Bytes
Versions: 5
Compression:
Stored size: 475 Bytes
Contents
class Tao.Popover.Confirm extends Tao.Popover.Element @tag 'tao-confirm-popover' _connected: -> super @on 'click', '.button-confirm', (e) => @trigger 'tao:confirm' @active = false null @on 'click', '.button-cancel', (e) => @trigger 'tao:cancel' @active = false null setContent: (content) -> @jq.find('.tao-popover-content .message').empty() .append content @ TaoComponent.register Tao.Popover.Confirm
Version data entries
5 entries across 5 versions & 1 rubygems