mofron is module based frontend framework.
set text font for mofron-comp-text component
format configure for each file automatically if you use local font
- this effect is private, this function is included in text component. so you don't need to use directly
npm install mofron mofron-effect-font
Short Form |
Parameter Name | Type | Description |
---|---|---|---|
◯ | fname | mixed | string: primary font name |
undefined: call as getter | |||
string | secondary font name (not required) | ||
◯ | path | mixed | string: path to font |
undefined: call as getter | |||
src | mixed | string: path to font | |
undefined: call as getter |