docs(common): migrate @whatItDoes
tags to the description (#23062)
We get the overview for the doc by splitting off the first paragraph. PR Close #23062
This commit is contained in:

committed by
Igor Minar

parent
46ba7f69dd
commit
079d8e57d5
@ -16,10 +16,9 @@ import {LocationChangeListener, PlatformLocation} from './platform_location';
|
||||
|
||||
|
||||
/**
|
||||
* @whatItDoes Use URL hash for storing application location data.
|
||||
* @description
|
||||
* `HashLocationStrategy` is a {@link LocationStrategy} used to configure the
|
||||
* {@link Location} service to represent its state in the
|
||||
* A {@link LocationStrategy} used to configure the {@link Location} service to
|
||||
* represent its state in the
|
||||
* [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)
|
||||
* of the browser's URL.
|
||||
*
|
||||
|
@ -20,8 +20,10 @@ export interface PopStateEvent {
|
||||
}
|
||||
|
||||
/**
|
||||
* @whatItDoes `Location` is a service that applications can use to interact with a browser's URL.
|
||||
* @description
|
||||
*
|
||||
* A service that applications can use to interact with a browser's URL.
|
||||
*
|
||||
* Depending on which {@link LocationStrategy} is used, `Location` will either persist
|
||||
* to the URL's path or the URL's hash segment.
|
||||
*
|
||||
|
@ -16,10 +16,9 @@ import {LocationChangeListener, PlatformLocation} from './platform_location';
|
||||
|
||||
|
||||
/**
|
||||
* @whatItDoes Use URL for storing application location data.
|
||||
* @description
|
||||
* `PathLocationStrategy` is a {@link LocationStrategy} used to configure the
|
||||
* {@link Location} service to represent its state in the
|
||||
* A {@link LocationStrategy} used to configure the {@link Location} service to
|
||||
* represent its state in the
|
||||
* [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the
|
||||
* browser's URL.
|
||||
*
|
||||
|
@ -48,13 +48,14 @@ export abstract class PlatformLocation {
|
||||
}
|
||||
|
||||
/**
|
||||
* @whatItDoes indicates when a location is initialized
|
||||
* @description Indicates when a location is initialized.
|
||||
* @experimental
|
||||
*/
|
||||
export const LOCATION_INITIALIZED = new InjectionToken<Promise<any>>('Location Initialized');
|
||||
|
||||
/**
|
||||
* A serializable version of the event from onPopState or onHashChange
|
||||
* @description
|
||||
* A serializable version of the event from `onPopState` or `onHashChange`
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
|
Reference in New Issue
Block a user