material_raingular 0.2.6.1 → 0.2.6.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78bccf5505dde2657ab0ef7c95cf1ec50a1a4da3
|
4
|
+
data.tar.gz: c72f95d0e54938eaba89dd4913656b40097b0152
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e7d1efdddd2a3807859b08190d9db0996ef4e42562d5e896213517d633fc1e5269736e52f4f238c980171ed81d6239922039d9091a609faf87970408f36d6fe
|
7
|
+
data.tar.gz: 18f70ca51415a2b58c21dc70fe182d577302dd05b81136ab6da8b3843d6ada20ac3c7634162c7b479537d25db34a0a9ac7cdc7ae5305bb79ea02812d62ca4478
|
@@ -10,6 +10,14 @@ class @PanelConfig
|
|
10
10
|
@openFrom ||= @event
|
11
11
|
@target ||= @event.target
|
12
12
|
@panelClass ||= 'md-select-menu'
|
13
|
-
setPosition: (target,$mdPanel) ->
|
14
|
-
|
13
|
+
setPosition: (target,$mdPanel,options) ->
|
14
|
+
options ||= {}
|
15
|
+
@position = $mdPanel.newPanelPosition().relativeTo(target).addPanelPosition($mdPanel.xPosition[options.x || 'ALIGN_START'], $mdPanel.yPosition[options.y || 'BELOW'])
|
16
|
+
return @
|
17
|
+
setAnimation: (type,$mdPanel,options) ->
|
18
|
+
options ||= {}
|
19
|
+
@animation ||= $mdPanel.newPanelAnimation()
|
20
|
+
@animation.openFrom(options.openFrom || @target)
|
21
|
+
@animation.closeTo(@target)
|
22
|
+
@animation.withAnimation($mdPanel.animation[type])
|
15
23
|
return @
|