flash_notifier 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/lib/flash_notifier/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5df24c99623f6b41374ecf01abd3a8aae9d8ff5332ddf97b34b385ecf2dcf9c5
|
4
|
+
data.tar.gz: 85fae0573da955e63085fe951a20a3544818c2b34b95833703c7b6f558f60844
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e7b5f088f1614a638417f70d5850517adef725eef9233d9bbbdcf0719be6416f213e3ea378d51f5db0a04ed740641449fc4a2cfee686d8e18c0754574a62924
|
7
|
+
data.tar.gz: c1f3686b134b7ca36993a6f1a79207b18ee16579444326b1f95224e048d30def94874ca3625d6cba75bd63b832f9dfa283caaf3f0e11b7615679b39a9e30f6aa
|
data/README.md
CHANGED
@@ -67,10 +67,14 @@ In your layout add this helper method
|
|
67
67
|
<%= build_flash %>
|
68
68
|
|
69
69
|
### Optional Step 3: Pass options to helper method
|
70
|
+
|
71
|
+
For Onscreen positioning of flash message pass param
|
72
|
+
|
73
|
+
<%= build_flash placement: 'topRight' %>
|
70
74
|
|
71
75
|
To manage progress bar pass param
|
72
76
|
|
73
|
-
<%= build_flash
|
77
|
+
<%= build_flash progress_bar: true %>
|
74
78
|
|
75
79
|
To set auto hide timeout pass param
|
76
80
|
|
@@ -80,7 +84,7 @@ To set default theme pass param (Note this param works only for Noty JS)
|
|
80
84
|
|
81
85
|
<%= build_flash theme: 'mint' %>
|
82
86
|
|
83
|
-
##### Values for these params
|
87
|
+
##### Values for these params can be found here [Noty JS](https://ned.im/noty/#/options), [Toastr JS](https://codeseven.github.io/toastr/demo.html)
|
84
88
|
|
85
89
|
## Contributing
|
86
90
|
|