js.popuper
Version:
CSS smart sticky position for exceeding aside blocks
43 lines (31 loc) • 1.2 kB
Markdown
Create your own pop-up window with your layout and your styles!<br/>
Создавайте свой собственный попапер, применяйте свой CSS стили
```sh
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...
]
})
```
MIT
1.0.3
Add ability to add CSS Class for button