Sha256: 30524241d1c7d81db621d829577af672ddba93c107bc2812e709e1cc932be088

Contents?: true

Size: 965 Bytes

Versions: 7

Compression:

Stored size: 965 Bytes

Contents

description: "I didn't change the default description."
examples:
  - description: 'A simple modal.'
    slim: |
      = ui_component 'modal', id: 'alice',
                              title: "Hello!",
                              content: "'If you knew Time as well as I do,' said the Hatter, " \
                                       "'you wouldn't talk about wasting IT. It's HIM.'"

      button.btn.btn-default data-toggle="modal" data-target="#alice"
        = 'Click me!'

  - description: 'A modal with buttons.'
    slim: |
      = ui_component 'modal', id: 'hatter',
                              title: "Hello!",
                              content: "'If you knew Time as well as I do,' said the Hatter, " \
                                       "'you wouldn't talk about wasting IT. It's HIM.'",
                              buttons: [:close, :submit]

      button.btn.btn-default data-toggle="modal" data-target="#hatter"
        = 'Click me!'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ad2games-ui_components-2.0.7 app/cells/modal/modal.yml
ad2games-ui_components-2.0.5 app/cells/modal/modal.yml
ad2games-ui_components-2.0.4 app/cells/modal/modal.yml
ad2games-ui_components-2.0.3 app/cells/modal/modal.yml
ad2games-ui_components-2.0.2 app/cells/modal/modal.yml
ad2games-ui_components-2.0.1 app/cells/modal/modal.yml
ad2games-ui_components-2.0.0 app/cells/modal/modal.yml