aurelia-bs-modal icon indicating copy to clipboard operation
aurelia-bs-modal copied to clipboard

Show Modal?

Open mikechabot opened this issue 8 years ago • 0 comments

I included the plugin in my main.js, and everything compiles correctly. I then drop the following boilerplate code in app.html, and set showing=true in app.js - yet the modal doesn't display.

How is one expected to make this modal appear? I must be missing something very simple.

 showing? --> ${showing}
  <modal showing.bind="showing">
    <modal-header title="Name Goes Here" close.call="closeEventGoesHere()"></modal-header>
    <!-- <modal-body content-view="view-model-path-goes-here" content-model.bind="model-name-goes-here"></modal-body> -->
    <modal-footer>
    <button class="btn" click.trigger="someFunctionGoesHere()">Save</button>
    <au-button text="Cancel" click.call="someFunctionGoesHere()"></au-button>
  </modal-footer>

In the view, I get the following, but no modal displays.

 showing? --> true

mikechabot avatar Jan 13 '16 17:01 mikechabot