Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ax5ui/ax5ui-dialog
Javascript UI Component - Dialog - JavaScript Dialog / Bootstrap Dialog
https://github.com/ax5ui/ax5ui-dialog
alert bootstrap confirm javascript-ui-dialog jquery prompt
Last synced: about 7 hours ago
JSON representation
Javascript UI Component - Dialog - JavaScript Dialog / Bootstrap Dialog
- Host: GitHub
- URL: https://github.com/ax5ui/ax5ui-dialog
- Owner: ax5ui
- License: mit
- Created: 2015-11-30T09:44:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-10T03:53:46.000Z (almost 6 years ago)
- Last Synced: 2024-10-06T09:20:29.449Z (4 months ago)
- Topics: alert, bootstrap, confirm, javascript-ui-dialog, jquery, prompt
- Language: JavaScript
- Homepage: http://ax5.io/ax5ui-dialog
- Size: 1.15 MB
- Stars: 29
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![ax5ui-travis-passing](https://travis-ci.org/ax5ui/ax5ui-dialog.svg?branch=master)
[![npm version](https://badge.fury.io/js/ax5ui-dialog.svg)](https://badge.fury.io/js/ax5ui-dialog)
[![](https://img.shields.io/npm/dm/ax5ui-dialog.svg)](https://www.npmjs.com/package/ax5ui-dialog)# ax5ui-dialog
"dialog" displays information on a popup window and also enables users to enter input values.> *Dependencies*
> * _[jQuery 1.X+](http://jquery.com/)_
> * _[ax5core](http://ax5.io/ax5core)_
> * _[bootstrap](http://getbootstrap.com/)_### Install with bower
```sh
bower install ax5ui-dialog
```
[bower](http://bower.io/#install-bower) is web front-end package manager.
When you install `bower`, it will be installed under the `bower_components` folder to resolve the plug-in dependencies.
(You can change the folder location. [.bowerrc](http://bower.io/docs/config/#bowerrc-specification) )It is recommended that you install by using `bower`.
If you've never used bower, please refer to [http://bower.io/#install-bower](http://bower.io/#install-bower).### Install with npm
If you do not use bower, it also can be installed by using npm as an alternative.
In case of npm, which is the package manager for the front end, you need to solve the problem of plug-in dependencies.```sh
npm install jquery
npm install ax5core
npm install ax5ui-dialog
```After downloading the install file of npm, you will need to copy it to the location where you want to use as a resource for the project.
If the copy process is inconvenient, it also can be done easily by using `gulp` or `grunt`.### Download code
- [ax5core Github releases](https://github.com/ax5ui/ax5core/releases)
- [ax5ui-dialog Github releases](https://github.com/ax5ui/ax5ui-dialog/releases)### Insert "ax5dialog" in HTML HEAD.
Folder location can be any for your project. However, please be sure to assign the right path in the project.```html
```
**CDN urls**
This is a list of CDN urls for ax5ui-dialog. ax5ui offers the CDN services through rawgit.
```
https://cdn.rawgit.com/ax5ui/ax5ui-dialog/master/dist/ax5dialog.css
https://cdn.rawgit.com/ax5ui/ax5ui-dialog/master/dist/ax5dialog.js
https://cdn.rawgit.com/ax5ui/ax5ui-dialog/master/dist/ax5dialog.min.js
```### Basic Usage
```js
var myDialog = new ax5.ui.dialog({
title: ' Default alert',
onStateChanged: function(){
}
});$('#btn').click(function () {
myDialog.alert({
msg: 'Alert message'
}, function () {
console.log(this);
});
});
```* * *
### Preview
- [See Demonstration](http://ax5.io/ax5ui-dialog/demo/index.html)If you have any questions, please refer to the following [gitHub](https://github.com/ax5ui/ax5ui-kernel)
## Question
- https://jsdev.kr/c/axisj/ax5ui
- https://github.com/ax5ui/ax5ui-kernel/issues[![axisj-contributed](https://img.shields.io/badge/AXISJ.com-Contributed-green.svg)](https://github.com/axisj)
![](https://img.shields.io/badge/Seowoo-Mondo&Thomas-red.svg)