popdevelop / angular-splash-demo Goto Github PK
View Code? Open in Web Editor NEWSplash modal demo. Read about it at popdevelop.com
Splash modal demo. Read about it at popdevelop.com
Hi,
Its extending the existing bootstrap ui $modal
which have in built focus when its getting opened, but when I integrated the splash screen the somehow its loosing the focus on opening screen. Please give me some solution on this.
I see index.html is pointing at the latest version, but the demo is pointing at 0.11.
Love the minimalism of the splash as a landing page.
But the code needs some love too work with Angular UI Bootstrap 0.13+.
Since Google has moved all animation code out of the core into a seperate module you will need too source angular-animate.js in index.html below angular:
...
<script type="text/javascript" src="../angular-animate.min.js"></script>
...
and load the module in splash.js like so:
...
angular.module('ui.splash', ['ui.bootstrap','ngAnimate'])
...
Furthermore the splash/index.html windowTemplate will need some additions too get the splash too show and, more importantly, animate:
...
'<section modal-render="{{$isRendered}}" class="splash" modal-in-class="splash-open" ng-style="{\'z-index\': 1000, display: \'block\'}" ng-click="close($event)">' +
...
Cheers
Its really a good stuff with simple example and really useful for me. Everything is working fine but I need some enhancement.
Can we close the modal using back button? I got reviews from many of the users so they are trying to close it using back key. So it would be great if you can also add this feature in your repo.
It would be easier to adopt and update, if it was a separate module installable by npm or bower.
Hi,
at least for me it's not working, do you know if it's working for this version of angular ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.