MCPcopy Index your code
hub / github.com/angular/angular / style

Function style

packages/animations/src/animation_metadata.ts:848–852  ·  view source on GitHub ↗
(
  tokens: '*' | {[key: string]: string | number} | Array<'*' | {[key: string]: string | number}>,
)

Source from the content-addressed store, hash-verified

846 * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23
847 **/
848export function style(
849 tokens: '*' | {[key: string]: string | number} | Array<'*' | {[key: string]: string | number}>,
850): AnimationStyleMetadata {
851 return {type: AnimationMetadataType.Style, styles: tokens, offset: null};
852}
853
854/**
855 * Declares an animation state within a trigger attached to an element.

Callers 15

AnimationCmpClass · 0.90
CmpClass · 0.90
CmpClass · 0.90
CmpClass · 0.90
CmpClass · 0.90
Page1CmpClass · 0.90
Page2CmpClass · 0.90
ContainerCmpClass · 0.90
RecurPageCmpClass · 0.90
CmpClass · 0.90
ParentCmpClass · 0.90
ChildCmpClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…