Socket
Socket
Sign inDemoInstall

@ribajs/bs4

Package Overview
Dependencies
28
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ribajs/bs4

Bootstrap 4 module for Riba.js


Version published
Weekly downloads
47
increased by135%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Bootstrap 4 Module

Install

npm install --save @ribajs/bs4

Regist

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

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

Keywords

FAQs

Last updated on 22 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc