mofron-effect-hrzpos
Version:
horizon positon effect for mofron
34 lines (23 loc) • 823 B
Markdown
[](https://mofron.github.io/mofron/) is module based frontend framework.
horizonal position effect for mofron component
the component is positioned specified parameter that is 'center' or 'left' and 'right'.
```
npm install mofron mofron-effect-hrzpos
```
```html
<setting>
<tag load="mofron-comp-text">Text</tag>
<tag load="mofron-effect-hrzpos">Hrzpos</tag>
</setting>
<Text effect=Hrzpos:"center">Horizon Position Effect</Text>
```
| Short<br>Form | Parameter Name | Type | Description |
|:-------------:|:---------------|:-----|:------------|
| ◯ | type | string | set position type ('center','left','right') |
| | | | undefind: call as getter |
| ◯ | offset | string(size) | position offset size |
| | | | undefined: call as getter |