docs: update platform-browser with @publicApi tags (#26595)

PR Close #26595
This commit is contained in:
Pete Bacon Darwin
2018-10-19 14:37:01 +01:00
committed by Alex Rickabaugh
parent c5949f85ef
commit 0bae97a726
9 changed files with 32 additions and 30 deletions

View File

@ -17,42 +17,42 @@ export {SecurityContext};
/**
* Marker interface for a value that's safe to use in a particular context.
*
*
* @publicApi
*/
export interface SafeValue {}
/**
* Marker interface for a value that's safe to use as HTML.
*
*
* @publicApi
*/
export interface SafeHtml extends SafeValue {}
/**
* Marker interface for a value that's safe to use as style (CSS).
*
*
* @publicApi
*/
export interface SafeStyle extends SafeValue {}
/**
* Marker interface for a value that's safe to use as JavaScript.
*
*
* @publicApi
*/
export interface SafeScript extends SafeValue {}
/**
* Marker interface for a value that's safe to use as a URL linking to a document.
*
*
* @publicApi
*/
export interface SafeUrl extends SafeValue {}
/**
* Marker interface for a value that's safe to use as a URL to load executable code from.
*
*
* @publicApi
*/
export interface SafeResourceUrl extends SafeValue {}
@ -85,7 +85,7 @@ export interface SafeResourceUrl extends SafeValue {}
* into this call. Make sure any user data is appropriately escaped for this security context.
* For more detail, see the [Security Guide](http://g.co/ng/security).
*
*
* @publicApi
*/
export abstract class DomSanitizer implements Sanitizer {
/**