Sha256: a421d18a97485cc00ef849c4e03aaa541b65caca83174875f38249c3087d4723

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

class IuguUI.Alert extends IuguUI.Base
  layout: "iugu-ui-alert"

  defaults:
    headerText: "HEADER TEXT"
    bodyText: "BODY TEXT"
    buttonText: "BUTTON TEXT"

  events:
    'click a.alertButton': 'handleDOMEvent'

  context: ->
    headerText: @options.headerText
    bodyText: @options.bodyText
    buttonText: @options.buttonText

@IuguUI.Alert = IuguUI.Alert

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iugu-ux-0.8.8 vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-alert.js.coffee
iugu-ux-0.8.7 vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-alert.js.coffee
iugu-ux-0.8.6 vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-alert.js.coffee
iugu-ux-0.8.5 vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-alert.js.coffee