MCPcopy
hub / github.com/web-infra-dev/garfish / keyframes

Method keyframes

packages/css-scope/src/cssStringify.ts:134–142  ·  view source on GitHub ↗
(node: KeyframesNode)

Source from the content-addressed store, hash-verified

132 }
133
134 keyframes(node: KeyframesNode) {
135 const name = this.id ? `${this.id}-${node.name}` : node.name;
136 return (
137 this.emit(`@${node.vendor || ''}keyframes ${name}`, node.position) +
138 this.emit(` {\n${this.indent(1)}`) +
139 this.mapVisit(node.keyframes, '\n') +
140 this.emit(`${this.indent(-1)}}`)
141 );
142 }
143
144 keyframe(node: KeyframeNode) {
145 const decls = node.declarations;

Callers

nothing calls this directly

Calls 3

emitMethod · 0.95
indentMethod · 0.95
mapVisitMethod · 0.95

Tested by

no test coverage detected