0.5.1 • Published 2 years ago

mofron-comp-message v0.5.1

Weekly downloads
63
License
MIT
Repository
github
Last release
2 years ago

mofron-comp-message

mofron is module based frontend framework.

message component for mofron

it is a component for informing the user of the result and notification contents.

Feature

  • display time can configure by "timer" parameter.
  • display position is easy to configure by "fixpos" parameter.
  • when the display position is set by "fixpos", the display position is fixed even if you scroll.

Attention

  • default visible is false. it needs to be displayed by the javascript "visible" function

Install

npm install mofron mofron-comp-message

Sample

<setting>
    <tag load="mofron-comp-message">Message</tag>
</setting>

<script run=after>
msg.visible(true);
</script>

<Message name=msg fixpos=("right","bottom") offset=("0.4rem","0.7rem")>message</Message>

Parameter

ShortFormParameter NameTypeDescription
fixposstringhorizonal position "left"/"center"/"right"
stringvertical position "top"/"center"/"bottom"
xFixposstringhorizonal fixed position "left"/"center"/"right"
undefined: call as getter
string(size)offset size (not required)
yFixposstringvertical fixed position "top"/"center"/"bottom"
undefined: call as getter
string(size)offset size (not required)
offsetstring(size)horizonal offset size
undefined: call as getter
string(size)vertical offset size
closeCompmofron.class.Componentreplacement close component
undefined: call as getter
closePosstringclose position ('left', 'right')
undefined: call as getter
timernumberdisplay message timer ms
undefined: call as getter
0.5.1

2 years ago

0.5.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.14

6 years ago

0.2.13

6 years ago

0.2.12

6 years ago

0.2.11

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

9 years ago