3.0.0 • Published 1 year ago
@onus-elements/core v3.0.0
@onus-elements/core
Installing
npm install @onus-elements/coreor replace npm with your dependency management tool of choice
Usage
import { OnusCore, POSITION_DEFAULT } from '@onus-elements/core';
const core = new OnusCore();
core.subscribe('tag_name', (children) => {
console.log(
'This callback is triggerd with the highest priority children:',
children
);
});
core.register(
{
name: 'tag_name',
children: 'something to track',
priority: 0,
},
POSITION_DEFAULT
);Building
Run nx build onus-core to build the library.
Running unit tests
Run nx test onus-core to execute the unit tests via Jest.
3.0.0
1 year ago
2.0.0
1 year ago
1.1.0-next.8
1 year ago
1.1.0-next.7
1 year ago
1.1.0-next.6
1 year ago
1.1.0-next.5
1 year ago
1.1.0-next.4
1 year ago
1.1.0-next.3
1 year ago
1.1.0-next.2
1 year ago
1.1.0-next.1
1 year ago
1.0.0
3 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago