1.0.10 • Published 6 years ago

malots-notification v1.0.10

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

notification

Notification npm package

Specification

This package contains a class to be extends, this class is called Notification, and have methods to implement an error property.

Example

class Example extends Notification { constructor() { super(); } }

Methods

  • addError - Add an error with key and error
  • getError(key) - Get error
  • getAllErrors - Return json with all errors
  • isValid - Return if class don't have any error
  • countErrors - Return quantity of erros
1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago