docs: improve core package API documentation with additional reference links

(cherry picked from commit 67d41e9bcc)
This commit is contained in:
SkyZeroZx 2025-11-24 17:08:52 -05:00 committed by kirjs
parent 69d6f8fe2c
commit 477df38d17
3 changed files with 8 additions and 0 deletions

View file

@ -113,6 +113,8 @@ export const ANIMATION_MODULE_TYPE = new InjectionToken<'NoopAnimations' | 'Brow
* Angular will apply when inserting inline styles. If not provided, Angular will look up its value
* from the `ngCspNonce` attribute of the application root node.
*
* @see [Content security policy](best-practices/security#content-security-policy)
*
* @publicApi
*/
export const CSP_NONCE = new InjectionToken<string | null>(
@ -175,6 +177,8 @@ export const IMAGE_CONFIG_DEFAULTS: ImageConfig = {
*
* @see {@link NgOptimizedImage}
* @see {@link ImageConfig}
* @see [Responsive images](guide/image-optimization#responsive-images)
* @see [Using placeholders](guide/image-optimization#using-placeholders)
* @publicApi
*/
export const IMAGE_CONFIG = new InjectionToken<ImageConfig>(

View file

@ -21,6 +21,8 @@ import type {ViewRef} from './view_ref';
* Provides access to the component instance and related objects,
* and provides the means of destroying the instance.
*
* @see [Programmatically rendering components](guide/components/programmatic-rendering)
*
* @publicApi
*/
export abstract class ComponentRef<C> {

View file

@ -12,6 +12,8 @@ import {SecurityContext} from './security';
/**
* Sanitizer is used by the views to sanitize potentially dangerous values.
*
* @see [Sanitization and security contexts](best-practices/security#sanitization-and-security-contexts)
*
* @publicApi
*/
export abstract class Sanitizer {