@ribajs/extras

2.0.0-rc.20 • Public • Published

Extras Module

Install

npm install --save @ribajs/extras

Regist

To regist the module include import extrasModule from '@ribajs/extras'; in your main.ts file and regist the module with riba.module.register(extrasModule.init());:

import { Riba, coreModule } from '@ribajs/core';
import { extrasModule } from '@ribajs/extras';
import { ready } from '@ribajs/utils/src/dom';
const riba = new Riba();
const model = {};
riba.module.register(coreModule.init());
riba.module.register(extrasModule.init());
ready(() => {
  riba.bind(document.body, model);
});

Readme

Keywords

none

Package Sidebar

Install

npm i @ribajs/extras

Weekly Downloads

7

Version

2.0.0-rc.20

License

MIT

Unpacked Size

349 kB

Total Files

144

Last publish

Collaborators

  • jumplink