1.0.10 • Published 7 years ago

malots-notification v1.0.10

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago