Code Monkey home page Code Monkey logo

ng5-material-dialog-demo's Introduction

ng5-material-dialog-demo Angular5 initial project installed with libraries which are needed for Angular Material

MIT License

ng5-material-dialog-demo is an Angular5 demo project for programmers who want to use Angular Material Checkbox.

Video Explanation https://youtu.be/zgLgallOcCQ

Full Source Code https://github.com/Ohtsu/ng5-material-dialog-demo

Overview

At first, please refer to "Angular Material Getting started" page as follows.

https://material.angular.io/guide/getting-started

This project is based on the steps explained in the page.

The following "Step" number is based on the page.

Installed Libraries and Settings

  • @angular/material (Step 1)

  • @angular/cdk (Step1)

  • @angular/animations (including the modification of 'src/app/app.module.ts' file) (Step2)

  • Add MatCheckboxModule,MatCardModule, MatRadioModule (step3)

  • Add default theme(indigo.pink.css) to styles.css file (step4)

  • hammerjs (including the modification of 'src/main.ts' file (step5)

  • Add the official Material Design Icons (modification of 'index.html' file) (Step6)

Prerequisite

  • Git
  • Node.js
  • TypeScript2
  • Angular5
  • Angular/cli
  • Angular/material

Installation

To install this program:

  • Make your own directory and change into it.
$ mkdir mydir
$ cd mydir
  • Make the clone as follows.
$ git clone https://github.com/Ohtsu/ng5-material-dialog-demo.git
  • Change into ng5-material-dialog-demo and run "npm install".
$ cd ng5-material-dialog-demo
$ npm install 

Check Your Program

If you start local server as follows, you can get the first page in your browser by accessing http://localhost:4200.

$ ng serve
  • default Page

  • Dialog

  • Return Values

Stop Local Server

Input Ctrl+C and y+Return to stop the local server.

Version

  • ng5-material-dialog-demo : 0.1
  • Angular5 : 5.0.0
  • @angular/cdk : 5.0.0-rc0
  • @angular/material : 5.0.0-rc0,
  • hammerjs : 2.0.8
  • @angular/cli : 1.5.0

Reference

Change Log

  • 2018.1.25 version 0.1.4 uploaded

Copyright

copyright 2018 by Shuichi Ohtsu (DigiPub Japan)

License

MIT © Shuichi Ohtsu

ng5-material-dialog-demo's People

Contributors

ohtsu avatar

Watchers

rafael sanchez port avatar

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.