khrome83 / impressjs

Impress.JS server side dialog manaifest generation and templating
MIT License
0 stars 0 forks source link

Add ability to display text #15

Closed khrome83 closed 8 years ago

khrome83 commented 8 years ago

Need ability to display text.

The text should come from the primed data.

<!-- Parsed -->
<p data-imp-text='${context.hello}'></p>
<!-- Output -->
<p>Hello World</p>
khrome83 commented 8 years ago

Updating this -

<!-- Parsed -->
<p data-imp-text='Hello World'></p>
<!-- Output -->
<p>Hello World</p>

I want text to just spit out data that is in attribute as a text node within that containing element.

The parsing the value of a attribute to get he data from records should be done higher up than inside the plugin.

khrome83 commented 8 years ago

29 will take care of variable expressions in attributes.