|
2 | 2 |
|
3 | 3 | ## Classes |
4 | 4 |
|
5 | | -### KeyframeEffectParameters |
6 | | - |
7 | | -Defined in: [KeyframeKit.ts:232](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L232) |
8 | | - |
9 | | -#### Constructors |
10 | | - |
11 | | -##### Constructor |
12 | | - |
13 | | -> **new KeyframeEffectParameters**(`__namedParameters`): [`KeyframeEffectParameters`](../wiki/#keyframeeffectparameters) |
14 | | -
|
15 | | -Defined in: [KeyframeKit.ts:237](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L237) |
16 | | - |
17 | | -###### Parameters |
18 | | - |
19 | | -###### \_\_namedParameters |
20 | | - |
21 | | -###### keyframes |
22 | | - |
23 | | -[`KeyframeArgument`](../wiki/#keyframeargument) |
24 | | - |
25 | | -###### options? |
26 | | - |
27 | | -`number` \| `KeyframeEffectOptions` = `{}` |
28 | | - |
29 | | -###### Returns |
30 | | - |
31 | | -[`KeyframeEffectParameters`](../wiki/#keyframeeffectparameters) |
32 | | - |
33 | | -#### Properties |
34 | | - |
35 | | -##### keyframes |
36 | | - |
37 | | -> **keyframes**: [`KeyframeArgument`](../wiki/#keyframeargument) |
38 | | -
|
39 | | -Defined in: [KeyframeKit.ts:234](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L234) |
40 | | - |
41 | | -##### options? |
42 | | - |
43 | | -> `optional` **options**: `number` \| `KeyframeEffectOptions` |
44 | | -
|
45 | | -Defined in: [KeyframeKit.ts:235](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L235) |
46 | | - |
47 | | -#### Methods |
48 | | - |
49 | | -##### toAnimation() |
50 | | - |
51 | | -> **toAnimation**(`__namedParameters`): `Animation` |
52 | | -
|
53 | | -Defined in: [KeyframeKit.ts:247](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L247) |
54 | | - |
55 | | -###### Parameters |
56 | | - |
57 | | -###### \_\_namedParameters |
58 | | - |
59 | | -###### target |
60 | | - |
61 | | -`Element` \| `null` |
62 | | - |
63 | | -###### timeline? |
64 | | - |
65 | | -`AnimationTimeline` = `document.timeline` |
66 | | - |
67 | | -###### Returns |
68 | | - |
69 | | -`Animation` |
70 | | - |
71 | | -*** |
72 | | - |
73 | | -### ParsedKeyframes |
74 | | - |
75 | | -Defined in: [KeyframeKit.ts:270](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L270) |
76 | | - |
77 | | -#### Constructors |
78 | | - |
79 | | -##### Constructor |
80 | | - |
81 | | -> **new ParsedKeyframes**(`keyframes`): [`ParsedKeyframes`](../wiki/#parsedkeyframes) |
82 | | -
|
83 | | -Defined in: [KeyframeKit.ts:274](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L274) |
84 | | - |
85 | | -###### Parameters |
86 | | - |
87 | | -###### keyframes |
88 | | - |
89 | | -`Keyframe`[] |
90 | | - |
91 | | -###### Returns |
92 | | - |
93 | | -[`ParsedKeyframes`](../wiki/#parsedkeyframes) |
94 | | - |
95 | | -#### Properties |
96 | | - |
97 | | -##### keyframes |
98 | | - |
99 | | -> **keyframes**: `Keyframe`[] |
100 | | -
|
101 | | -Defined in: [KeyframeKit.ts:272](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L272) |
102 | | - |
103 | | -#### Methods |
104 | | - |
105 | | -##### toKeyframeEffect() |
106 | | - |
107 | | -> **toKeyframeEffect**(`options`): [`KeyframeEffectParameters`](../wiki/#keyframeeffectparameters) |
108 | | -
|
109 | | -Defined in: [KeyframeKit.ts:278](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L278) |
110 | | - |
111 | | -###### Parameters |
112 | | - |
113 | | -###### options |
114 | | - |
115 | | -`number` | `KeyframeEffectOptions` | `null` |
116 | | - |
117 | | -###### Returns |
118 | | - |
119 | | -[`KeyframeEffectParameters`](../wiki/#keyframeeffectparameters) |
| 5 | +- [KeyframeEffectParameters](../wiki/Class.KeyframeEffectParameters) |
| 6 | +- [ParsedKeyframes](../wiki/Class.ParsedKeyframes) |
120 | 7 |
|
121 | 8 | ## Type Aliases |
122 | 9 |
|
123 | | -### KeyframeArgument |
124 | | - |
125 | | -> **KeyframeArgument** = `Keyframe`[] \| `PropertyIndexedKeyframes` |
126 | | -
|
127 | | -Defined in: [KeyframeKit.ts:228](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L228) |
128 | | - |
129 | | -*** |
130 | | - |
131 | | -### KeyframesFactorySource |
132 | | - |
133 | | -> **KeyframesFactorySource** = `DocumentOrShadowRoot` \| `CSSStyleSheet` |
134 | | -
|
135 | | -Defined in: [KeyframeKit.ts:12](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L12) |
136 | | - |
137 | | -*** |
138 | | - |
139 | | -### ParsedKeyframesRules |
140 | | - |
141 | | -> **ParsedKeyframesRules** = `object` |
142 | | -
|
143 | | -Defined in: [KeyframeKit.ts:307](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L307) |
144 | | - |
145 | | -#### Index Signature |
146 | | - |
147 | | -\[`ruleName`: `string`\]: [`ParsedKeyframes`](../wiki/#parsedkeyframes) |
| 10 | +- [KeyframeArgument](../wiki/TypeAlias.KeyframeArgument) |
| 11 | +- [KeyframesFactorySource](../wiki/TypeAlias.KeyframesFactorySource) |
| 12 | +- [ParsedKeyframesRules](../wiki/TypeAlias.ParsedKeyframesRules) |
148 | 13 |
|
149 | 14 | ## Variables |
150 | 15 |
|
151 | | -### default |
152 | | - |
153 | | -> **default**: `KeyframesFactory` |
154 | | -
|
155 | | -Defined in: [KeyframeKit.ts:14](https://github.com/benhatsor/KeyframeKit.js/blob/0db1a18843ed681284a92c6b22be85343adb765e/src/KeyframeKit.ts#L14) |
| 16 | +- [default](../wiki/Variable.default) |
0 commit comments