Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

modui-base

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modui-base

Base view class for all modui views.

latest
npmnpm
Version
2.3.2
Version published
Weekly downloads
1
-50%
Maintainers
2
Weekly downloads
 
Created
Source

About the modui suite

The modui suite is a collection of interface components based off of Backbone.View. modui-base is the base class for all the rest of the component views.

Each component in the suite can be used independently by requiring the component, e.g.

var ModuiPopup = require( 'modui-popup' );

The modui suite must be used in a client-side commonjs environment. We recommend its use with parcelify, browserify, or cartero.

modui-base

All views in the modui suite are derived from the modui-base class. The base class simply mixes together behavior from the following backbone plugins:

It also provides a default render method that renders a template function attached to the template property of the view, using the view's options (and its model.attributes, if it has a model) as template data.

Derived classes in the modui suite

The following is a list of components that inherit from modui-base and have been open sourced. Hopefully this list will continue to grow. We have dialogs, date fields, time pickers, etc., etc. If you want to see more of these components open sourced, please show your support by starting this repo, as there is overhead involved in open sourcing these things!

License

MIT

Keywords

modui

FAQs

Package last updated on 04 Nov 2019

Did you know?

Socket

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