Docs for extending a mapping plugin generated model?

17 views
Skip to first unread message

st...@sitefinitysteve.com

unread,
May 1, 2012, 3:50:38 PM5/1/12
to knock...@googlegroups.com
I'm trying to find some docs on extending my viewmodel with some computed functions...problem is it's generated from service-fed JSON via the mapping plugin (and I'm a newb :)

Can someone point me in the right direction please?

Thanks,
Steve

rpn

unread,
May 1, 2012, 4:29:54 PM5/1/12
to knock...@googlegroups.com
Hi Steve-
A good spot to start would be looking at the mapping options that you can pass in, specifically the "create" callbacks.  Here are the docs:  http://knockoutjs.com/documentation/plugins-mapping.html#customizing_object_construction_using_create 
Reply all
Reply to author
Forward
0 new messages