| 2 | import {BaseStyleRule} from './styleRule' |
| 3 | |
| 4 | export 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 | |
| 16 | export default { |
| 17 | onCreateRule(key, style, options) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…