interface App
Methods
component(name)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| Returns | 
 | 
Signature
component(name: string): Component | undefined;component(name, component)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| 
 | 
 | |
| Returns | 
 | 
Signature
component(name: string, component: Component): this;directive(name)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| Returns | 
 | 
Signature
directive(name: string): Directive | undefined;directive(name, directive)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| 
 | 
 | |
| Returns | 
 | 
Signature
directive(name: string, directive: Directive): this;filter(name)
v2 compat only
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| Returns | 
 | 
Signature
filter?(name: string): Function | undefined;filter(name, filter)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| 
 | 
 | |
| Returns | 
 | 
Signature
filter?(name: string, filter: Function): this;mixin(mixin)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| Returns | 
 | 
Signature
mixin(mixin: ComponentOptions): this;mount(rootContainer, isHydrate, isSVG)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| 
 | 
 | |
| 
 | 
 | |
| Returns | 
 | 
Signature
mount(rootContainer: HostElement | string, isHydrate?: boolean, isSVG?: boolean): ComponentPublicInstance;provide(key, value)
| Name | Type | Description | 
|---|---|---|
| 
 | 
 | |
| 
 | 
 | |
| Returns | 
 | 
Signature
provide<T>(key: InjectionKey<T> | string, value: T): this;