shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
expandPleasantCssClassname
Type:Function
Status:stabée
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.html
This function allows you to convert “colon” classnames like “s-something:cool @desktop something” to comprehensive classnames for css like “s-something s-something-cool something_desktop”, etc…
Params
- classesStr*-String
The classes string to convert like “s-typo:h1 s-font:40”, etc…
Return
- -String
The processed string with converted classnames
Example
import { expandPleasantCssClassname } from '@blackbyte/sugar/html';
expandPleasantCssClassname('...');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space