Comments (1)
Got that from Alexey Matveed via email. Not verified:
if (!localOptions.cloning) {
overlay.data(pluginNamespace+'.el', el);
$(el).data(pluginNamespace+'.parent', $(el).parent());
openedModalElement = $(el).appendTo(overlay).prepend($('<a data-focus>').attr('tabindex', "-1")).show();
} else {
openedModalElement = $(el).clone(true).appendTo(overlay).prepend($('<a data-focus>').attr('tabindex', "-1")).show();
}
overlay.find('[data-focus]').focus();
from the-modal.
Related Issues (20)
- flash objects are staying on top of the modal
- -webkit-transform: translateZ(0px) caused overlay display problem HOT 1
- Option to add animation to the overlay appearing/dissappeqring
- Click events don't work if closeOnOverlayClick is true HOT 5
- Thank you! HOT 1
- Modal naming conflict bootstrap HOT 2
- Scrolls page to top when html,body 'height' option is set to 100% HOT 1
- Config documentation
- Some config wont work with constructuctor, but will work with modal.open() HOT 2
- Modal does not open, if cloning option defined to false in constructor
- Add a license HOT 2
- Scrollbar not showing in RTL pages
- Need to hide() the modal element after closing (when 'clone' is set to false)
- It is possible to open the modal centered vertically? HOT 11
- in ie8 and ie9 not working HOT 2
- Add 0.1.3 release tag HOT 5
- $.get is not opening content in specified #id modal div HOT 6
- themodal-overlay style="left: -15px;" HOT 1
- Publish the-modal on npm HOT 3
- Планируется ли инициализация с помощью атрибуту data-? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-modal.