Framework7框架结构

以2017年2月10日发布的Framework7 1.5.3为例。

(function(){

    'use strict';

    window.Framework7 = function(){
    var app = this;
    app.init = function(){

    };
    app.init();
    return app; };
  
  Framework7.prototype.device = function(){
    var device = {};
    return device;
  };

  Framework7.prototype.support = function(){
    var support = {};
    return support;
  };

  Framework7.prototype.plugins = {};
window.Dom7
= function(){ };
window.Template7
= function(){ };
window.Animate7
= function(){ };
window.Swiper
= function(){ };
  Swiper.prototype = {

  };
})();

 

 

 

 

posted on 2017-05-27 10:09  沙滩海风  阅读(207)  评论(0编辑  收藏  举报

导航