docs(common): mark platform-browser and platform-browser-dynamic apis stable
This commit is contained in:
parent
1f5a5895e5
commit
c03e25a7b7
@ -6,11 +6,10 @@
|
|||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {ResourceLoader, analyzeAppProvidersForDeprecatedConfiguration, platformCoreDynamic} from '@angular/compiler';
|
import {ResourceLoader, platformCoreDynamic} from '@angular/compiler';
|
||||||
import {ApplicationRef, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, CompilerFactory, CompilerOptions, ComponentRef, NgModule, PlatformRef, Provider, Type, createPlatformFactory} from '@angular/core';
|
import {COMPILER_OPTIONS, PlatformRef, Provider, createPlatformFactory} from '@angular/core';
|
||||||
import {BrowserModule, WORKER_SCRIPT, WorkerAppModule, platformWorkerUi} from '@angular/platform-browser';
|
import {WORKER_SCRIPT, platformWorkerUi} from '@angular/platform-browser';
|
||||||
|
|
||||||
import {Console} from './core_private';
|
|
||||||
import {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './src/platform_providers';
|
import {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './src/platform_providers';
|
||||||
import {CachedResourceLoader} from './src/resource_loader/resource_loader_cache';
|
import {CachedResourceLoader} from './src/resource_loader/resource_loader_cache';
|
||||||
import {ResourceLoaderImpl} from './src/resource_loader/resource_loader_impl';
|
import {ResourceLoaderImpl} from './src/resource_loader/resource_loader_impl';
|
||||||
@ -24,7 +23,7 @@ export const RESOURCE_CACHE_PROVIDER: Provider[] =
|
|||||||
[{provide: ResourceLoader, useClass: CachedResourceLoader}];
|
[{provide: ResourceLoader, useClass: CachedResourceLoader}];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @experimental API related to bootstrapping are still under review.
|
* @stable
|
||||||
*/
|
*/
|
||||||
export const platformBrowserDynamic = createPlatformFactory(
|
export const platformBrowserDynamic = createPlatformFactory(
|
||||||
platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
|
platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
|
||||||
@ -32,7 +31,7 @@ export const platformBrowserDynamic = createPlatformFactory(
|
|||||||
/**
|
/**
|
||||||
* Bootstraps the worker ui.
|
* Bootstraps the worker ui.
|
||||||
*
|
*
|
||||||
* @experimental
|
* @experimental WebWorker support is currently experimental
|
||||||
*/
|
*/
|
||||||
export function bootstrapWorkerUi(
|
export function bootstrapWorkerUi(
|
||||||
workerScriptUri: string, customProviders: Provider[] = []): Promise<PlatformRef> {
|
workerScriptUri: string, customProviders: Provider[] = []): Promise<PlatformRef> {
|
||||||
@ -45,7 +44,7 @@ export function bootstrapWorkerUi(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @experimental API related to bootstrapping are still under review.
|
* @experimental WebWorker support is currently experimental
|
||||||
*/
|
*/
|
||||||
export const platformWorkerAppDynamic = createPlatformFactory(
|
export const platformWorkerAppDynamic = createPlatformFactory(
|
||||||
platformCoreDynamic, 'workerAppDynamic', [{
|
platformCoreDynamic, 'workerAppDynamic', [{
|
||||||
|
@ -17,7 +17,7 @@ import {DOMTestComponentRenderer} from './testing/dom_test_component_renderer';
|
|||||||
export * from './private_export_testing'
|
export * from './private_export_testing'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @experimental API related to bootstrapping are still under review.
|
* @stable
|
||||||
*/
|
*/
|
||||||
export const platformBrowserDynamicTesting = createPlatformFactory(
|
export const platformBrowserDynamicTesting = createPlatformFactory(
|
||||||
platformCoreDynamicTesting, 'browserDynamicTesting',
|
platformCoreDynamicTesting, 'browserDynamicTesting',
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export {BROWSER_SANITIZATION_PROVIDERS, BrowserModule, platformBrowser} from './src/browser';
|
export {BrowserModule, platformBrowser} from './src/browser';
|
||||||
export {BrowserPlatformLocation} from './src/browser/location/browser_platform_location';
|
export {BrowserPlatformLocation} from './src/browser/location/browser_platform_location';
|
||||||
export {Title} from './src/browser/title';
|
export {Title} from './src/browser/title';
|
||||||
export {disableDebugTools, enableDebugTools} from './src/browser/tools/tools';
|
export {disableDebugTools, enableDebugTools} from './src/browser/tools/tools';
|
||||||
|
@ -44,7 +44,7 @@ export const BROWSER_SANITIZATION_PROVIDERS: Array<any> = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @experimental API related to bootstrapping are still under review.
|
* @stable
|
||||||
*/
|
*/
|
||||||
export const platformBrowser =
|
export const platformBrowser =
|
||||||
createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
|
createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
|
||||||
@ -73,7 +73,7 @@ export function _resolveDefaultAnimationDriver(): AnimationDriver {
|
|||||||
/**
|
/**
|
||||||
* The ng module for the browser.
|
* The ng module for the browser.
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
providers: [
|
providers: [
|
||||||
|
@ -26,7 +26,7 @@ const _TEST_BROWSER_PLATFORM_PROVIDERS: Provider[] =
|
|||||||
/**
|
/**
|
||||||
* Platform for testing
|
* Platform for testing
|
||||||
*
|
*
|
||||||
* @experimental API related to bootstrapping are still under review.
|
* @stable
|
||||||
*/
|
*/
|
||||||
export const platformBrowserTesting =
|
export const platformBrowserTesting =
|
||||||
createPlatformFactory(platformCore, 'browserTesting', _TEST_BROWSER_PLATFORM_PROVIDERS);
|
createPlatformFactory(platformCore, 'browserTesting', _TEST_BROWSER_PLATFORM_PROVIDERS);
|
||||||
@ -34,7 +34,7 @@ export const platformBrowserTesting =
|
|||||||
/**
|
/**
|
||||||
* NgModule for testing.
|
* NgModule for testing.
|
||||||
*
|
*
|
||||||
* @experimental
|
* @stable
|
||||||
*/
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
exports: [BrowserModule],
|
exports: [BrowserModule],
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @experimental */
|
/** @experimental */
|
||||||
export declare function bootstrapWorkerUi(workerScriptUri: string, customProviders?: Provider[]): Promise<PlatformRef>;
|
export declare function bootstrapWorkerUi(workerScriptUri: string, customProviders?: Provider[]): Promise<PlatformRef>;
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare const platformBrowserDynamic: (extraProviders?: any[]) => PlatformRef;
|
export declare const platformBrowserDynamic: (extraProviders?: any[]) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
export declare class BrowserDynamicTestingModule {
|
export declare class BrowserDynamicTestingModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare const platformBrowserDynamicTesting: (extraProviders?: any[]) => PlatformRef;
|
export declare const platformBrowserDynamicTesting: (extraProviders?: any[]) => PlatformRef;
|
||||||
|
@ -4,10 +4,7 @@ export declare abstract class AnimationDriver {
|
|||||||
static NOOP: AnimationDriver;
|
static NOOP: AnimationDriver;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare const BROWSER_SANITIZATION_PROVIDERS: Array<any>;
|
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare class BrowserModule {
|
export declare class BrowserModule {
|
||||||
constructor(parentModule: BrowserModule);
|
constructor(parentModule: BrowserModule);
|
||||||
}
|
}
|
||||||
@ -120,7 +117,7 @@ export declare class NgProbeToken {
|
|||||||
constructor(name: string, token: any);
|
constructor(name: string, token: any);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare const platformBrowser: (extraProviders?: any[]) => PlatformRef;
|
export declare const platformBrowser: (extraProviders?: any[]) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare class BrowserTestingModule {
|
export declare class BrowserTestingModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @experimental */
|
/** @stable */
|
||||||
export declare const platformBrowserTesting: (extraProviders?: any[]) => PlatformRef;
|
export declare const platformBrowserTesting: (extraProviders?: any[]) => PlatformRef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user