Demo entry 6628997

bare-minimum

   

Submitted by anonymous on Jul 06, 2017 at 09:41
Language: Handlebars. Code size: 235 Bytes.

<button onclick={{action 'findStores'}}>
  Find Nearby Stores
</button>
{{#if result}}
  {{#each result.stores as |s|}}
    <li>
      <strong>{{s.name}}</strong>:
      {{s.distance}} miles away
    </li>
  {{/each}}
{{/if}}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).