Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krescruz/angular-materialize
Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize
https://github.com/krescruz/angular-materialize
Last synced: 19 days ago
JSON representation
Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize
- Host: GitHub
- URL: https://github.com/krescruz/angular-materialize
- Owner: krescruz
- License: mit
- Created: 2014-12-03T08:15:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T07:58:12.000Z (6 months ago)
- Last Synced: 2024-10-09T18:31:49.401Z (about 1 month ago)
- Language: HTML
- Size: 1.57 MB
- Stars: 396
- Watchers: 20
- Forks: 129
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-material-design - Angular Materialize - Port of Materialize for AngjuarJS as directives (Other / AngularJS)
README
angular-materialize
===================**angular-materialize** in action http://krescruz.github.io/angular-materialize/
This library is a set of AngularJS directives which make it possible to use features from [Materialize](http://materializecss.com/) with AngularJS.
It is basically a set of directives, which calls the JavaScript functions defined by Materialize. This means that you still need to include Materialize for this to work.This project is not to be confused with the [Angular Material](https://material.angularjs.org/) project, which is a standalone Material design implementation for AngularJS.
A minimal example of how to set up this project can be found here: http://krescruz.github.io/angular-materialize/#getting-started
You can download this project through our [`bower package`](http://bower.io/search/?q=angular-materialize), or [`npm package`](https://www.npmjs.com/package/angular-materialize).
Or just use the cdn:```html
```
Angular looks for jQuery and if no exists, it uses jQlite. Some directives of `angular-materialize` uses some jQuery methods, so be sure that Angular uses it instead of jQlite. It can be done by including jquery before you include angular on your view
``````
If you are using Webpack, it can also be done by adding the following lines in your config:
##### Use with Webpack
```javascript
//webpack.config.js
plugins: [
new webpack.ProvidePlugin({
'window.jQuery': 'jquery'
})
],
```
then simply add to your module:
```javascript
// yourModule.js
// ES6 style
import angularMaterialize from 'angular-materialize';
// OR commonjs style
var angularMaterialize = require('angular-materialize');
angular.module('yourModule', [angularMaterialize]);
```