3.0.6 • Published 2 months ago
@springtree/eva-sdk-core-settings v3.0.6
@springtree/eva-sdk-core-settings
Centralised settings manager for all EVA sdk modules. Module can register their own settings group. Updating a setting will return a change event that can be picked up and peristend by add-on libraries voor local storage or mobile platform properties
Usage
import { settings } from '@springtree/eva-sdk-core-settings';
const coreSettings = settinges.getCoreSettings();
const defaultlanguage = settings.get('core', 'language');
settings.set('core', 'appName', 'my EVA app');
settings.set('core', 'appVersion', '0.1.0');
// Register your own setting group
// If an existing group exists an error will be thrown
//
const groupName = 'example';
const testValues = {
example: 'setting',
};
settings.register(groupName, testValues);
const exampleSettings = settings.getGroup(groupName);
3.0.6
2 months ago
3.0.4
2 months ago
3.0.5
2 months ago
3.0.3
2 months ago
3.0.2
3 months ago
3.0.1
3 months ago
3.0.0
3 months ago
2.0.3
1 year ago
2.0.4
1 year ago
2.0.2
2 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.6
3 years ago
1.0.5
4 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago