We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#StarMVC Document
The constructor of StarMVC.
Add route in the route table.
Parameters
route: string, the name of the route
string
templete: string, the path of the view templete
controller: function, the container of the data that will render in the templete.
function
Initialize the StarMVC application.
viewElement: string, the DOM object that you templete will render in
Start the StarMVC App.
Load the templete that will be renderd, use ajax.
route: object, the route object that contains the required information.
object
The core of the templete engine.
rawTemp: string, the templete.
Render the DOM tree in the view.