A Component definition is a javascript function which when called with new word instantiates a javascript object (theviewModel) and also defines and inserts the ko-synchronized view (html) into the document (web page).
But not only this, Component definitions must be able to be used (instantiated) alone or nested in otherComponent definitions. In this way we will always end up with one Component definition per page, but which will make use (probably) of a lot of other nested Component definitions.
Your new post is loading...