Skip to content

Commit 477df38

Browse files
SkyZeroZxkirjs
authored andcommitted
docs: improve core package API documentation with additional reference links
(cherry picked from commit 67d41e9)
1 parent 69d6f8f commit 477df38

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

packages/core/src/application/application_tokens.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ export const ANIMATION_MODULE_TYPE = new InjectionToken<'NoopAnimations' | 'Brow
113113
* Angular will apply when inserting inline styles. If not provided, Angular will look up its value
114114
* from the `ngCspNonce` attribute of the application root node.
115115
*
116+
* @see [Content security policy](best-practices/security#content-security-policy)
117+
*
116118
* @publicApi
117119
*/
118120
export const CSP_NONCE = new InjectionToken<string | null>(
@@ -175,6 +177,8 @@ export const IMAGE_CONFIG_DEFAULTS: ImageConfig = {
175177
*
176178
* @see {@link NgOptimizedImage}
177179
* @see {@link ImageConfig}
180+
* @see [Responsive images](guide/image-optimization#responsive-images)
181+
* @see [Using placeholders](guide/image-optimization#using-placeholders)
178182
* @publicApi
179183
*/
180184
export const IMAGE_CONFIG = new InjectionToken<ImageConfig>(

packages/core/src/linker/component_factory.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import type {ViewRef} from './view_ref';
2121
* Provides access to the component instance and related objects,
2222
* and provides the means of destroying the instance.
2323
*
24+
* @see [Programmatically rendering components](guide/components/programmatic-rendering)
25+
*
2426
* @publicApi
2527
*/
2628
export abstract class ComponentRef<C> {

packages/core/src/sanitization/sanitizer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import {SecurityContext} from './security';
1212
/**
1313
* Sanitizer is used by the views to sanitize potentially dangerous values.
1414
*
15+
* @see [Sanitization and security contexts](best-practices/security#sanitization-and-security-contexts)
16+
*
1517
* @publicApi
1618
*/
1719
export abstract class Sanitizer {

0 commit comments

Comments
 (0)