1.0.0 • Published 8 months ago
@onus-elements/core v1.0.0
@onus-elements/core
Installing
npm install @onus-elements/core
or 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.
1.1.0-next.8
8 months ago
1.1.0-next.7
8 months ago
1.1.0-next.6
8 months ago
1.1.0-next.5
9 months ago
1.1.0-next.4
9 months ago
1.1.0-next.3
9 months ago
1.1.0-next.2
9 months ago
1.1.0-next.1
9 months ago
1.0.0
2 years ago
1.3.2
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
1.2.1
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.3
2 years ago
1.0.2
3 years ago
1.0.1
3 years ago