Sha256: 4547342fe098dd2cbcca0c07053175270102ce5f7d2cf0d5f2af8049d1309c1f

Contents?: true

Size: 1020 Bytes

Versions: 11

Compression:

Stored size: 1020 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],
                              extra_class: 'modal-sm'

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ad2games-ui_components-2.4.2 app/cells/modal/modal.yml
ad2games-ui_components-2.4.1 app/cells/modal/modal.yml
ad2games-ui_components-2.4.0 app/cells/modal/modal.yml
ad2games-ui_components-2.3.0 app/cells/modal/modal.yml
ad2games-ui_components-2.1.0 app/cells/modal/modal.yml
ad2games-ui_components-2.0.14 app/cells/modal/modal.yml
ad2games-ui_components-2.0.12 app/cells/modal/modal.yml
ad2games-ui_components-2.0.11 app/cells/modal/modal.yml
ad2games-ui_components-2.0.10 app/cells/modal/modal.yml
ad2games-ui_components-2.0.9 app/cells/modal/modal.yml
ad2games-ui_components-2.0.8 app/cells/modal/modal.yml