NgStore

A class for creating stores.

@parameters

Name

Type

Description

initialState

object

Initial state of store.

@return

Type

Description

NgStore

New NgStore instance.

Examples:

const loaderStore = new NgStore({
    visible: false,
    label: 'Loading...'
});

Last updated