1.0.3 • Published 2 years ago

js.popuper v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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