API Docs for: 0.0.1
Show:

modules.mymvc.MVC Class

Defined in: modules\mvc.js:16
Module: modules/mymvc

the class for to implement the MVC design pattern

Constructor

modules.mymvc.MVC

()

Defined in modules\mvc.js:16

Item Index

Methods

Methods

init

(
  • view
  • controller
  • model
)
MVC public

Defined in modules\mvc.js:23

the initial entry for a new MVC instance,and it will inital the model/view/controller/notify when the instance is created!

Parameters:

  • view View
  • controller Controller
  • model Model

Returns:

MVC: an instance of MVC