@egova/flagwind-web
Version:
flagwind web library
32 lines (31 loc) • 935 B
TypeScript
/*!
* This file is part of `common` module.
*
* Authors:
* jason <jasonsoop@gmail.com>
*
* Licensed under the MIT License.
* Copyright (C) 2010-2017 Flagwind Inc. All rights reserved.
*/
import Vue from "vue";
import flagwind from "@egova/flagwind-core";
/**
* 定义组件的基础功能。
* @class
* @version 1.0.0
*/
export declare class Component extends Vue {
protected $flagwinEventBus: flagwind.BroadcastManager | undefined;
protected _eventNames: Array<string>;
protected get $eventNames(): string[];
/**
* 获取默认服务容器实例。
* @protected
* @property
* @returns flagwind.IServiceProvider
*/
protected get serviceProvier(): flagwind.IServiceProvider;
protected $subscribe(uri: string, fn: Function, priority?: number): void;
protected $publish(uri: string, args?: any): void;
protected destroyed(): void;
}