Leaflet核心类:Class.js

没有定义属性字段,定义了一些方法。

  • extend(props: Object): Function
    扩展当前类,包含给定的属性,并返回一个js函数作为类的构造函数
  • include(properties: Object): this
    Includes a mixin into the current class,内部调用了:
    Util.extend(this.prototype, props); return this;
  • mergeOptions(options: Object): this
    选项融合
  • addInitHook(fn: Function): this
  • checkDeprecatedMixinEvents
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。