dlegr250_material_design 0.2.24 → 0.2.25
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: 2890e63fdec79edf5072d2bc30c8561d7b36bc27
|
4
|
+
data.tar.gz: 4b0f450bc32e48770dd0d2782ab80e7a2bd878eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96a70a1dd259597a3884e8ed7031999ae0b946d9dac8e12bce9a31e63d993978af9cf0e0b7e66c18dd8533059f3ef578ee99344774ac1c44428ac01623a55af5
|
7
|
+
data.tar.gz: 56053149894c416acc3a62b3c5781a98e9ba7a378a044db56eb8bf10459fd4007cb397980d702af8b611322ad8e38dc618e48d6c54077d15906838a265e68076
|
@@ -44,15 +44,28 @@ class App.MD.Snackbar
|
|
44
44
|
|
45
45
|
@show: () ->
|
46
46
|
@element().html(@text)
|
47
|
+
@parent().addClass("has-animating-snackbar")
|
47
48
|
setTimeout (=>
|
48
49
|
@element().addClass(@css_class).addClass("visible")
|
49
50
|
$(".fab").addClass("move-with-snackbar")
|
50
51
|
), 50
|
51
52
|
|
53
|
+
setTimeout (=>
|
54
|
+
@parent().removeClass("has-animating-snackbar")
|
55
|
+
), 50
|
56
|
+
|
52
57
|
@hide: () ->
|
53
58
|
clearTimeout(@timeout)
|
59
|
+
@parent().addClass("has-animating-snackbar")
|
54
60
|
@element().removeClass("visible")
|
55
61
|
$(".fab").removeClass("move-with-snackbar")
|
56
62
|
|
63
|
+
setTimeout (=>
|
64
|
+
@parent().removeClass("has-animating-snackbar")
|
65
|
+
), 50
|
66
|
+
|
57
67
|
@element: () ->
|
58
68
|
$("#snackbar")
|
69
|
+
|
70
|
+
@parent: () ->
|
71
|
+
@element.parent()
|