This is a migrated thread and some comments may be shown as answers.

Comments on the Documentation

4 Answers 66 Views
SPA
This is a migrated thread and some comments may be shown as answers.
mgs
Top achievements
Rank 1
mgs asked on 04 Mar 2013, 09:03 AM
The sample on http://docs.kendoui.com/getting-started/framework/spa/overview has a typo. Calling "render" should not be applied to "view" but to "index" instead.

After testing http://docs.kendoui.com/getting-started/framework/spa/router it seems as if both routes "/foo" and "#/foo" were accepted by the "navigate" method. Is it ok to use one or the other?

Regarding http://docs.kendoui.com/getting-started/framework/spa/view what is the recommended way for destroying a view. Is setting the container's innerHtml ok?

Michael G. Schneider

4 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 05 Mar 2013, 09:53 AM
Hello Michael,

Thank you for your feedback. We have fixed the variable name in the docs. 

Currently both route definitions work. "/foo" is more concise, though, and will be compatible with a pushState support (should we introduce that at some point). 

The getting started section does not cover the complete API of the widgets - this happens in the API section. For instance, the View class has a destroy method, documented in details there.

Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
mgs
Top achievements
Rank 1
answered on 05 Mar 2013, 02:08 PM
Hello Petyo,

thanks a lot for the answer.

Michael G. Schneider
0
Jacques
Top achievements
Rank 2
answered on 20 Oct 2015, 01:32 PM
Is the documentation complete? See attached image comparing what's documented with what's actually available on the object.
0
Jacques
Top achievements
Rank 2
answered on 20 Oct 2015, 01:33 PM
forgot to add attachement and you can't seem to edit a post. Here's the attachement.
Tags
SPA
Asked by
mgs
Top achievements
Rank 1
Answers by
Petyo
Telerik team
mgs
Top achievements
Rank 1
Jacques
Top achievements
Rank 2
Share this question
or