js.popuper
v1.0.3
Published
CSS smart sticky position for exceeding aside blocks
Downloads
16
Maintainers
Readme
Usage
Create your own pop-up window with your layout and your styles!
Использование
Создавайте свой собственный попапер, применяйте свой CSS стили
Вызов класса | Class call
new PopUper({
title : 'HTML or text for PopUper title',
body: 'HTML or text for PopUper body',
controls: // Optional
[
{
title: 'HTML or text for Button',
action: () => {/*any function. Optional */},
enter: false // Boolean (true or false) // action of button will execution by event of enter button keyup. False is default. Optional
},
{
title: 'HTML or text for Button',
action: () => { /* any function. Optional */ },
enter: true /* optional. Default - false. Key Enter Action */,
style: /* CSS class for button*/
}
// etc...
]
})
License
MIT
Versions
1.0.3 Add ability to add CSS Class for button