mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Created Packery and Draggabilly directives.
Applied the Packery directive to Info layout based on media queries.
This commit is contained in:
14
res/app/components/stf/angular-packery/index.js
vendored
Normal file
14
res/app/components/stf/angular-packery/index.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
require('./angular-packery.css')
|
||||
|
||||
require('packery/js/rect.js')
|
||||
require('packery/js/packer.js')
|
||||
require('packery/js/item.js')
|
||||
var packery = require('packery/js/packery.js')
|
||||
|
||||
module.exports = angular.module('stf.angular-packery', [
|
||||
require('stf/angular-draggabilly').name
|
||||
])
|
||||
.factory('PackeryService', function () {
|
||||
return packery
|
||||
})
|
||||
.directive('angularPackery', require('./angular-packery-directive'))
|
||||
Reference in New Issue
Block a user