CoreServiceProvider
Extends:
OS.js Core Service Provider
Constructor Summary
Public Constructor | ||
public |
constructor(core: Core, options: CoreProviderOptions) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
Provides Clipboard contract |
|
public |
Provides DOM contract |
|
public |
Provides DnD contract |
|
public |
createGlobalApi(): * Expose some internals to global |
|
public |
Provides localization contract |
|
public |
Provides Middleware contract |
|
public |
Provides Packages contract |
|
public |
Provides Session contract |
|
public |
Provides Sounds contract |
|
public |
Provides Theme contract |
|
public |
Provides Tray contract |
|
public |
Provides window contract |
|
public |
destroy() Destroys provider |
|
public |
Initializes provider |
|
public |
Get a list of services this provider registers |
|
public |
Registers contracts |
|
public |
Starts provider |
Private Methods | ||
private |
_onDistChanged(filename: string) Event when dist changes from a build or deployment |
|
private |
_onPackageChanged(name: string) Event when package dist changes from a build or deployment |
Public Constructors
public constructor(core: Core, options: CoreProviderOptions) source
Params:
Name | Type | Attribute | Description |
core | Core | OS.js Core |
|
options | CoreProviderOptions |
|
Arguments |
Public Members
public middleware: Middleware source
Public Methods
public createMiddlewareContract(): CoreProviderMiddlewareContract source
Provides Middleware contract