samedi 28 novembre 2015

Change the font size from one component to another component

I want to change the font size from one component to another component.
I have comonent - "chande-font-size".

chande-font-size.hbs

<button>+</button><button>-</button>

And component - "example-text".

example-text.hbs

<p class="special-text">some text</p>.

Component chande-font-size does not see html DOM of example-text component.

Ember generate DOM dinamic, and we does not have document.ready.

An example of what I need - http://ift.tt/1kYL4Bn




Aucun commentaire:

Enregistrer un commentaire