fix(renderer): remove unecessary setElementStyles method
There is no need to expose this additional method inside of the Renderer API. The functionality can be restored by looping and calling `setElementStyle` instead. Note that this change is changing code that was was introduced after the last release therefore this fix is not a breaking change. Closes #9000 Closes #9009
This commit is contained in:
@ -49,6 +49,7 @@ import {
|
||||
balanceAnimationKeyframes as impBalanceAnimationKeyframes,
|
||||
clearStyles as impClearStyles,
|
||||
collectAndResolveStyles as impCollectAndResolveStyles,
|
||||
renderStyles as impRenderStyles,
|
||||
SecurityContext
|
||||
} from '../core_private';
|
||||
|
||||
@ -260,6 +261,11 @@ export class Identifiers {
|
||||
moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,
|
||||
runtime: impClearStyles
|
||||
});
|
||||
static renderStyles = new CompileIdentifierMetadata({
|
||||
name: 'renderStyles',
|
||||
moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,
|
||||
runtime: impRenderStyles
|
||||
});
|
||||
static collectAndResolveStyles = new CompileIdentifierMetadata({
|
||||
name: 'collectAndResolveStyles',
|
||||
moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,
|
||||
|
Reference in New Issue
Block a user