• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

zachfitz/Ionic-Material: Material Design style and animations for Ionic

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

zachfitz/Ionic-Material

开源软件地址(OpenSource Url):

https://github.com/zachfitz/Ionic-Material

开源编程语言(OpenSource Language):

CSS 76.7%

开源软件介绍(OpenSource Introduction):

This project / repository is retired

This project will not have updates for AngularJS/Ionic 1. Please contact the author (zachfitz) if you have ability and interest in resurrecting it, or (preferrably) porting it to Ionic 2/Angular.

Ionic Material

Join the chat at https://gitter.im/zachsoft/Ionic-Material Ionic Framework Material Design

NB: all versions pre-1.0 are intended as a work in progress 'Alpha'

GitHub version Commitizen friendly

See our releases and other versions

Demo and Documentation

Codepen

Documentation

NB: Note: It is recommended that when creating an issue, you demonstrate the problem by forking the codepen.

Quick Start

Step 1: Install using Bower

 cd /PATH/TO/YOUR/PROJECT
 bower install ionic-material

Step 2: Add RobotoDraft font (by Google)

Via CDN:

 <link href='https://fonts.googleapis.com/css?family=RobotoDraft:400,500,700,400italic' rel='stylesheet' type='text/css'>

via Bower

Check out RobotoDraft by RaiButera on Github

bower install robotodraft 

using Sass? instructions for raibutera/robotodraft + scss:

$RobotoDraftFontPath: "../fonts"; // REMINDER: edit as appropriate!
$RobotoDraftFontName: "RobotoDraft";
$RobotoDraftFontVersion: "1.0.0";

@import "/PATH/TO/YOUR/PROJECT/bower_components/robotodraft/sass/robotodraft.scss";    // REMINDER: edit as appropriate!

NB: the above assumes you are using Bower

Step 3: Add Ionic Material stylesheets and scripts

Add ionic.material.min.css and ionic.material.min.js to your index.html

    <link href="lib/ionic/css/ionic.css" rel="stylesheet">
    <link href="lib/ionic-material/dist/ionic.material.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <script src="lib/ionic/js/ionic.bundle.js"></script>
    <script src="lib/ionic-material/dist/ionic.material.min.js"></script>

Step 4: Inject Ionic & Ionic Material into your Ionic App

    var app = angular.module('YOUR_APP_NAME', ['ionic', 'ionic-material']);

Step 5: Where appropriate, inject ionicMaterialInk and/or ionicMaterialMotion

The angular services ionicMaterialInk and ionicMaterialMotion are used to activate animations.

You are all set to go!


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap