We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 001dff3 + b5592d4 commit d4e1805Copy full SHA for d4e1805
1 file changed
a2/README.md
@@ -223,18 +223,18 @@ Translations of this Angular 2 style guide are maintained by the community. Due
223
}
224
225
// private functions
226
+ private _hide() {
227
+ this._toastElement.style.opacity = 0;
228
+ window.setTimeout(() => this._toastElement.style.zIndex = 0, 400);
229
+ }
230
+
231
private _show() {
232
console.log(this.message);
233
this._toastElement.style.opacity = 1;
234
this._toastElement.style.zIndex = 9999;
235
236
window.setTimeout(() => this._hide(), 2500);
237
-
- private _hide() {
- this._toastElement.style.opacity = 0;
- window.setTimeout(() => this._toastElement.style.zIndex = 0, 400);
- }
238
239
```
240
0 commit comments