forked from fanruan/fineui
windy
4 years ago
3 changed files with 32 additions and 3 deletions
@ -1,5 +1,23 @@ |
|||||||
import { Controller } from '../controller'; |
import { Controller } from './controller'; |
||||||
|
|
||||||
export declare class LayerController extends Controller { |
export declare class LayerController extends Controller { |
||||||
make(name: string, container: , op, context)
|
make<T>(name: string, container: any, op: any, context: any): T; |
||||||
|
|
||||||
|
create<T>(name: string, from: any, op: any, context: any): T; |
||||||
|
|
||||||
|
hide(name: string, callback: boolean): LayerController; |
||||||
|
|
||||||
|
show(name: string, callback: boolean): LayerController; |
||||||
|
|
||||||
|
isVisible(name: string): boolean; |
||||||
|
|
||||||
|
add(name: string, layer: any, layout: any): LayerController; |
||||||
|
|
||||||
|
get<T>(name: string): T; |
||||||
|
|
||||||
|
has(name: string): boolean; |
||||||
|
|
||||||
|
remove(name: string): LayerController; |
||||||
|
|
||||||
|
removeAll(): LayerController; |
||||||
} |
} |
@ -0,0 +1,5 @@ |
|||||||
|
import { OB } from "../ob"; |
||||||
|
|
||||||
|
export declare class Controller extends OB { |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
} |
Loading…
Reference in new issue