24 lines
608 B
JavaScript
24 lines
608 B
JavaScript
let m = require('mithril')
|
|
let fadeOutEffect = require('../others/fadeOutEffect')
|
|
|
|
module.exports = {
|
|
view: function() {
|
|
return m('.label.top', {
|
|
style: {
|
|
position: 'fixed',
|
|
top: '15px',
|
|
fontSize: 'small',
|
|
margin: '0 35%',
|
|
left: '0',
|
|
right: '0',
|
|
overflowY: 'auto',
|
|
maxWidth: '100%',
|
|
maxHeight: '100%'
|
|
},
|
|
onclick: function() {
|
|
fadeOutEffect.fade(this)
|
|
}
|
|
}, window.message)
|
|
}
|
|
}
|