Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Modify document fragment with additional stache code in helper

$
0
0
Stache helpers can accept document fragments. 

Sent from my iPhone

On Jan 20, 2015, at 9:22 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

JavaScriptMVC Forum

Hi Justin Meyer,

     air_hadoken has responded to "Modify document fragment with additional stache code in helper"

Yes, it is possible to do this, and it even seems to respond to live binding correctly.  Check this fiddle:



It wouldn't be possible to do this without stringifying the markup returned (I don't think), because the Stache renderer is string-based and tokenizes the source to create the new template.

Now, you can also post your response to this by simply replying to this email! Your response will automatically appear on the forum.

You are receiving this email because you are watching the CanJS forum in javascriptmvc. If you do not wish to receive this e-mail notifications in the future, unwatch the CanJS forum here.This e-mail is generated from Zoho service. If you think this is SPAM, please do report to us and we will take immediate action on this. Report spam to abuse@zoho.com Contact us: Zoho, 4900 Hopyard Rd., Suite 310 ,Pleasanton, CA 94588, USA www.zoho.com


Viewing all articles
Browse latest Browse all 3491

Trending Articles