GithubHelp home page GithubHelp logo

liqingzhu / angular-weui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from x-cold/angular-weui

0.0 1.0 0.0 943 KB

将weui整合到angular项目,面向服务进行封装

Home Page: http://blog.lxstart.net/weui/templates/index.html#/

JavaScript 69.92% CSS 25.86% HTML 4.22%

angular-weui's Introduction

#angular weui

将weui整合到angular项目,面向服务进行封装

引用文件

  • angular.min.js
  • weui.js

主要思路

  • 整合weui提供的组件,封装转换为angularJS的服务(service),提供调用的接口,可直接从angular引入或者借助requirejs、seajs进行依赖管理。

  • 整合部分组件为指令(directive)

借助$q将服务以promise的形式处理异步

计划

  • 展示DEMO的UI原型(已完成)

  • weui组件服务化

    • Toast [已完成]
    • Dialog [进行中]
    • Progress [进行中]
    • ActionSheet [进行中]
  • weui组件指令

    • SearchBar [进行中]

备注

本项目起始于2016/4/4,主要意于推动WEUI在angular 1的应用场景拓展。代码比较粗糙,欢迎提交issue共同讨论。

使用方法

本项目完全使用gulp进行工作流组织。

  1. gulp build 生成release版本

  2. gulp 调试(请访问 http://localhost:7000/templates/)

angular-weui's People

Contributors

x-cold avatar

Watchers

PeterLee 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.