Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ax5ui/ax5ui-modal
Javascript UI Component - Modal (JavaScript Modal ) / jQuery / Bootstrap / Modal
https://github.com/ax5ui/ax5ui-modal
ax5core ax5ui-modal bootstrap jquery
Last synced: about 12 hours ago
JSON representation
Javascript UI Component - Modal (JavaScript Modal ) / jQuery / Bootstrap / Modal
- Host: GitHub
- URL: https://github.com/ax5ui/ax5ui-modal
- Owner: ax5ui
- License: mit
- Created: 2016-01-12T03:56:00.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-10T03:55:09.000Z (almost 6 years ago)
- Last Synced: 2024-10-06T09:20:23.869Z (4 months ago)
- Topics: ax5core, ax5ui-modal, bootstrap, jquery
- Language: JavaScript
- Homepage: http://ax5.io
- Size: 479 KB
- Stars: 19
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/ax5ui/ax5ui-modal.svg?branch=master)](https://travis-ci.org/ax5ui/ax5ui-modal)
[![npm version](https://badge.fury.io/js/ax5ui-modal.svg)](https://badge.fury.io/js/ax5ui-modal)
[![](https://img.shields.io/npm/dm/ax5ui-modal.svg)](https://www.npmjs.com/package/ax5ui-modal)# ax5ui-modal
"modal" to display content on a secondary window which disables interactions with the main view.> *Dependencies*
> * _[jQuery 1.X+](http://jquery.com/)_
> * _[ax5core](http://ax5.io/ax5core)_
> * _[bootstrap](http://getbootstrap.com/)_### Install with bower
```sh
bower install ax5ui-modal
```
[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-modal
```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-modal Github releases](https://github.com/ax5ui/ax5ui-modal/releases)### Insert "ax5modal" 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-modal. ax5ui offers the CDN services through rawgit.
```
https://cdn.rawgit.com/ax5ui/ax5ui-modal/master/dist/ax5modal.css
https://cdn.rawgit.com/ax5ui/ax5ui-modal/master/dist/ax5modal.js
https://cdn.rawgit.com/ax5ui/ax5ui-modal/master/dist/ax5modal.min.js
```### Basic Usage
```js
var modal = new ax5.ui.modal();
modal.setConfig({
onStateChanged: function(){
console.log(this);
}
});
modal.open();
```- - -
### Preview
- [See Demonstration](http://ax5.io/ax5ui-modal/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)