docs: update platform-browser with @publicApi
tags (#26595)
PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
c5949f85ef
commit
0bae97a726
@ -1,10 +1,7 @@
|
||||
/** @experimental */
|
||||
export declare const ANIMATION_MODULE_TYPE: InjectionToken<"NoopAnimations" | "BrowserAnimations">;
|
||||
|
||||
/** @experimental */
|
||||
export declare class BrowserAnimationsModule {
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class NoopAnimationsModule {
|
||||
}
|
||||
|
@ -1,22 +1,19 @@
|
||||
export declare class BrowserModule {
|
||||
constructor(parentModule: BrowserModule | null);
|
||||
/** @experimental */ static withServerTransition(params: {
|
||||
static withServerTransition(params: {
|
||||
appId: string;
|
||||
}): ModuleWithProviders<BrowserModule>;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class BrowserTransferStateModule {
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class By {
|
||||
static all(): Predicate<DebugElement>;
|
||||
static css(selector: string): Predicate<DebugElement>;
|
||||
static directive(type: Type<any>): Predicate<DebugElement>;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare function disableDebugTools(): void;
|
||||
|
||||
/** @deprecated */
|
||||
@ -31,7 +28,6 @@ export declare abstract class DomSanitizer implements Sanitizer {
|
||||
abstract sanitize(context: SecurityContext, value: SafeValue | string | null): string | null;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare function enableDebugTools<T>(ref: ComponentRef<T>): ComponentRef<T>;
|
||||
|
||||
export declare const EVENT_MANAGER_PLUGINS: InjectionToken<EventManagerPlugin[]>;
|
||||
@ -43,12 +39,10 @@ export declare class EventManager {
|
||||
getZone(): NgZone;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare const HAMMER_GESTURE_CONFIG: InjectionToken<HammerGestureConfig>;
|
||||
|
||||
export declare const HAMMER_LOADER: InjectionToken<HammerLoader>;
|
||||
|
||||
/** @experimental */
|
||||
export declare class HammerGestureConfig {
|
||||
events: string[];
|
||||
options?: {
|
||||
@ -69,10 +63,8 @@ export declare class HammerGestureConfig {
|
||||
|
||||
export declare type HammerLoader = () => Promise<void>;
|
||||
|
||||
/** @experimental */
|
||||
export declare function makeStateKey<T = void>(key: string): StateKey<T>;
|
||||
|
||||
/** @experimental */
|
||||
export declare class Meta {
|
||||
constructor(_doc: any);
|
||||
addTag(tag: MetaDefinition, forceCreation?: boolean): HTMLMetaElement | null;
|
||||
@ -84,7 +76,6 @@ export declare class Meta {
|
||||
updateTag(tag: MetaDefinition, selector?: string): HTMLMetaElement | null;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare type MetaDefinition = {
|
||||
charset?: string;
|
||||
content?: string;
|
||||
@ -119,19 +110,16 @@ export interface SafeUrl extends SafeValue {
|
||||
export interface SafeValue {
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare type StateKey<T> = string & {
|
||||
__not_a_string: never;
|
||||
};
|
||||
|
||||
/** @experimental */
|
||||
export declare class Title {
|
||||
constructor(_doc: any);
|
||||
getTitle(): string;
|
||||
setTitle(newTitle: string): void;
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare class TransferState {
|
||||
get<T>(key: StateKey<T>, defaultValue: T): T;
|
||||
hasKey<T>(key: StateKey<T>): boolean;
|
||||
|
Reference in New Issue
Block a user