mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Add setNonce to $mdThemeProvider to allow the user to define a nonce attribute
Allow the user to define a nonce attribute for generated theme style tags. See https://github.com/angular/material/issues/7780
This commit is contained in:
committed by
GitHub
parent
2a24bbb7ca
commit
e4933ee6fd
1
angular-material/angular-material.d.ts
vendored
1
angular-material/angular-material.d.ts
vendored
@@ -247,6 +247,7 @@ declare namespace angular.material {
|
||||
extendPalette(name: string, palette: IPalette): IPalette;
|
||||
setDefaultTheme(theme: string): void;
|
||||
alwaysWatchTheme(alwaysWatch: boolean): void;
|
||||
setNonce(nonce: string): void;
|
||||
}
|
||||
|
||||
interface IDateLocaleProvider {
|
||||
|
||||
Reference in New Issue
Block a user