Index

projects/ng-snotify/src/lib/utils.ts

animate
animate(start, duration, callback)
Parameters :
Name Optional
start No
duration No
callback No
isObject
isObject(item)

Simple is object check.

Parameters :
Name Optional Description
item No

Object

Returns : boolean

boolean

mergeDeep
mergeDeep(...sources: any[])

Deep merge objects.

Parameters :
Name Type Optional Description
sources any[] No

Array<Object>

uuid
uuid()

Generates random id

Returns : number

number

projects/ng-snotify/src/lib/decorators/set-toast-type.decorator.ts

SetToastType
SetToastType(target: any, propertyKey, descriptor)

Defines toast style depending on method name

Parameters :
Name Type Optional Description
target any No

any

propertyKey No

SnotifyType

descriptor No

PropertyDescriptor

projects/ng-snotify/src/lib/decorators/transform-argument.decorator.ts

TransformArgument
TransformArgument(target: any, propertyKey, descriptor)

Transform arguments to Snotify object

Parameters :
Name Type Optional Description
target any No

any

propertyKey No

SnotifyType

descriptor No

PropertyDescriptor

result-matching ""

    No results matching ""