flip-from-string
title: flipFromString() in Iconify Utils
types:
IconCustomisations: './icon-customisations.md'
flipFromString()
This function is part of Iconify Utils package.
Function [func]flipFromString() applies [prop]flip shorthand property to [type]IconCustomisations object.
Usage
Function has the following parameters:
[prop]custom,[type]IconCustomisations. Customisations.[prop]value,[type]string. Value to parse.
Function does not return anything, it applies changes to object passed in first parameter.
Value
Value can be set of the following strings, separated by space and/or comma:
[str]horizontalsets[prop]hFliptotrue.[str]verticalsets[prop]vFliptotrue.
Example
src: libraries/utils/flip-from-string.ts
title: 'demo.ts'
这篇文档对你有帮助吗?
谢谢你的反馈!