Packages
@twind/core › KeyframesFunction
Callable
KeyframesFunction
▸ KeyframesFunction(style
): StringLike
Parameters
Name | Type |
---|---|
style | string | CSSObject |
Returns
Defined in
packages/core/src/keyframes.ts:9
KeyframesFunction
▸ KeyframesFunction(strings
, ...interpolations
): StringLike
Parameters
Name | Type |
---|---|
strings | TemplateStringsArray |
...interpolations | readonly CSSValue [] |
Returns
Defined in
packages/core/src/keyframes.ts:11
Methods
apply
▸ apply(thisArg
, args
): StringLike
Parameters
Name | Type |
---|---|
thisArg | undefined | void | (tokens : string ) => string |
args | [string | CSSObject ] |
Returns
Defined in
packages/core/src/keyframes.ts:28
▸ apply(thisArg
, args
): StringLike
Parameters
Name | Type |
---|---|
thisArg | undefined | void | (tokens : string ) => string |
args | [string | CSSObject ] | [strings: TemplateStringsArray, ...interpolations: CSSValue[]] |
Returns
Defined in
packages/core/src/keyframes.ts:33
bind
▸ bind(thisArg?
): KeyframesFunction
& { [label: string]
: KeyframesFunction
; } & { [label: string]
: KeyframesFunction
; }
Parameters
Name | Type |
---|---|
thisArg? | void | (tokens : string ) => string |
Returns
KeyframesFunction
& { [label: string]
: KeyframesFunction
; } & { [label: string]
: KeyframesFunction
; }
Defined in
packages/core/src/keyframes.ts:13
call
▸ call(thisArg
, style
): StringLike
Parameters
Name | Type |
---|---|
thisArg | undefined | void | (tokens : string ) => string |
style | string | CSSObject |
Returns
Defined in
packages/core/src/keyframes.ts:17
▸ call(thisArg
, strings
, ...interpolations
): StringLike
Parameters
Name | Type |
---|---|
thisArg | undefined | void | (tokens : string ) => string |
strings | TemplateStringsArray |
...interpolations | readonly CSSValue [] |