0.5.1 • Published 1 year ago

mofron-comp-message v0.5.1

Weekly downloads
63
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.5.0

3 years ago

0.4.1

3 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.14

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago