MCPcopy
hub / github.com/cssinjs/jss / KeyframeRule

Class KeyframeRule

packages/jss/src/plugins/keyframeRule.js:4–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import {BaseStyleRule} from './styleRule'
3
4export class KeyframeRule extends BaseStyleRule {
5 /**
6 * Generates a CSS string.
7 */
8 toString(options) {
9 const {sheet} = this.options
10 const link = sheet ? sheet.options.link : false
11 const opts = link ? {...options, allowEmpty: true} : options
12 return toCss(this.key, this.style, opts)
13 }
14}
15
16export default {
17 onCreateRule(key, style, options) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…