Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap4-toggle

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap4-toggle - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

css/bootstrap4-toggle.min.css

10

CHANGELOG.md

@@ -9,2 +9,12 @@ # Changelog

## [3.5.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.5.0) 2019-07-02
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.4.0...v3.5.0)
### Added
- Added ARIA `role="button"` tag to toggle
- Added `cursor: pointer;` style to toggle
### Changed
- Fixed: Touch not working on mobile [\#2](https://github.com/gitbrent/bootstrap4-toggle/issue/2) ([wilecoyte78](https://github.com/wilecoyte78))
- Updated to Bootstrap version 4.3.1
- Updated README with better Yarn instructions
## [3.4.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.4.0) 2019-01-03

@@ -11,0 +21,0 @@ ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.3.0...v3.4.0)

26

package.json
{
"name": "bootstrap4-toggle",
"version": "3.4.0",
"version": "3.5.0",
"author": {

@@ -11,17 +11,21 @@ "name": "Brent Ely",

"license": "MIT",
"main": "js/bootstrap4-toggle.js",
"main": "js/bootstrap4-toggle.min.js",
"files": [
"css/bootstrap4-toggle.css",
"js/bootstrap4-toggle.js"
"css/bootstrap4-toggle.min.css",
"js/bootstrap4-toggle.min.js"
],
"scripts": {
"build": "grunt"
},
"keywords": [
"bootstrap",
"bootstrap4",
"bootstrap-4",
"bootstrap 4",
"bootstrap 4 checkbox",
"bootstrap 4 switch",
"bootstrap 4 toggle",
"bootstrap-checkbox",
"bootstrap-4",
"bootstrap 4",
"bootstrap 4 checkbox",
"bootstrap 4 switch",
"bootstrap 4 toggle",
"bootstrap-checkbox",
"bootstrap-switch",
"bootstrap-switch-button",
"bootstrap-toggle"

@@ -37,3 +41,3 @@ ],

"devDependencies": {
"grunt": "^1.0.3",
"grunt": "^1.0.4",
"grunt-contrib-clean": "^0.6.0",

@@ -40,0 +44,0 @@ "grunt-contrib-cssmin": "^0.10.0",

@@ -1,2 +0,2 @@

[![MIT Licence](https://img.shields.io/github/license/gitbrent/bootstrap4-toggle.svg)](https://opensource.org/licenses/mit-license.php) [![Bootstrap 4.2.1](https://img.shields.io/badge/bootstrap-4.2.1-green.svg?style=flat-square)](https://getbootstrap.com/docs/4.1) [![Known Vulnerabilities](https://snyk.io/test/npm/bootstrap4-toggle/badge.svg)](https://snyk.io/test/npm/bootstrap4-toggle) [![JSDelivr Badge](https://data.jsdelivr.com/v1/package/gh/gitbrent/bootstrap4-toggle/badge)](https://www.jsdelivr.com/package/gh/gitbrent/bootstrap4-toggle)
[![MIT Licence](https://img.shields.io/github/license/gitbrent/bootstrap4-toggle.svg)](https://opensource.org/licenses/mit-license.php) [![Bootstrap 4.2.1](https://img.shields.io/badge/bootstrap-4.3.1-green.svg?style=flat-square)](https://getbootstrap.com/docs/4.1) [![Known Vulnerabilities](https://snyk.io/test/npm/bootstrap4-toggle/badge.svg)](https://snyk.io/test/npm/bootstrap4-toggle) [![npm downloads](https://img.shields.io/npm/dm/bootstrap4-toggle.svg)](https://www.npmjs.com/package/bootstrap4-toggle) [![JSDelivr Badge](https://data.jsdelivr.com/v1/package/gh/gitbrent/bootstrap4-toggle/badge)](https://www.jsdelivr.com/package/gh/gitbrent/bootstrap4-toggle)

@@ -7,6 +7,16 @@ # Bootstrap 4 Toggle

Visit https://gitbrent.github.io/bootstrap4-toggle/ for interactive demos.
**************************************************************************************************
#### Library Distributions
Project |Description
-------------------------------------------------------------------------------------------|-------------------------------------------------------
[bootstrap4-toggle](https://github.com/gitbrent/bootstrap4-toggle) | Supports bootstrap4 (requires jQuery)
[bootstrap-switch-button](https://github.com/gitbrent/bootstrap-switch-button) | Supports bootstrap4+ (ES6 class, no dependencies)
[bootstrap-switch-button-react](https://github.com/gitbrent/bootstrap-switch-button-react) | Supports bootstrap4+ (React component, no dependencies)
# Demos
**Demos and API Docs:** https://gitbrent.github.io/bootstrap4-toggle/
![Demo GIF](https://github.com/gitbrent/bootstrap4-toggle/blob/master/doc/bootstrap4-toggle-demo.gif?raw=true)
<!-- START doctoc generated TOC please keep comment here to allow auto update -->

@@ -16,6 +26,5 @@ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [Demos](#demos)
- [Installation](#installation)
- [CDN](#cdn)
- [Download](#download)
- [CDN](#cdn)
- [NPM](#npm)

@@ -37,5 +46,2 @@ - [Yarn](#yarn)

# Demos
Visit https://gitbrent.github.io/bootstrap4-toggle/ for interactive checkbox toggle demos.
# Installation

@@ -45,4 +51,4 @@

```html
<link href="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.4.0/css/bootstrap4-toggle.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.4.0/js/bootstrap4-toggle.min.js"></script>
<link href="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.5.0/css/bootstrap4-toggle.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/gh/gitbrent/bootstrap4-toggle@3.5.0/js/bootstrap4-toggle.min.js"></script>
```

@@ -60,3 +66,3 @@

```ksh
yarn install bootstrap4-toggle
yarn add bootstrap4-toggle
```

@@ -63,0 +69,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc