GithubHelp home page GithubHelp logo

krasaee / ng-morphing-modal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shauchenka/ng-morphing-modal

1.0 1.0 0.0 2.69 MB

Angular Morphing Modal

Home Page: http://trackduck.com

License: Apache License 2.0

HTML 17.56% JavaScript 43.68% CSS 38.77%

ng-morphing-modal's Introduction

Angular Morphing Modal

Angular directive for fullscreen modal window with wonderful animation in trending Material Design style. Responsive and mobile-ready. Works in modern browsers.

Check Demo

How it works

Angular Morphing Modal

Installation

Install with Bower

npm update -g bower
bower install ng-morphing-modal --save

Include Scripts

<script src="bower_components/velocity/velocity.min.js"></script>
<script src="bower_components/ng-morphing-modal/build/js/ngMorphingModal.min.js"></script>

Declare Angular Dependency

angular.module('your-app', ['ng-morphing-modal']);

Manual installation

Download contents of build/ folder from this repo, include .js files in your project. Velocity.js and Angular is required!

Usage

Define launcher:

<a href="#" class="btn" **ng-morphing-modal** content-selector="**cbc**" data-type="modal-trigger">
Fire Modal
</a>

And modal content markup:

<div class="cd-modal" id="**cbc**">
    <div class="cd-modal-content">
    <!-- your modal content -->
    </div>
</div>

Change list:

  • Bower package
  • Initial release
  • Support for multiple DOM instances
  • Add build script
  • Refactoring sass for easy styling
  • Content from JSON/XHR
  • Extended mobile support

Please show your interest to this project with a stars, it can speed up development process!

Support and credits

Based on idea from this Pen Created and maintained for you by TrackDuck - visual feedback and bug tracking with screenshots for web integrated with more than 15 project management systems.

TrackDuck

If you have any questions/comments/recommendations drop us a line to: [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.