Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

#ember-modal-dialog, Problem with subclassing

$
0
0

@Yaroslav_Poliakov wrote:

Hi all! I'm trying to create simple modal window based on ember-modal-dialog.

I have next piece of code:

{{#if loginDialog}}
  {{#login-dialog}} Something! {{/login-dialog}}
{{/if}}

login-dialog.js:

import Component from 'ember-modal-dialog/components/modal-dialog';

export default Component.extend({

});

login-dialog.hbs

{{yield}}

According to docs it must works fine, but it shows just "Something!" as a plain text without modal panel (even without component's div). What am I doing wrong?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles