bootstrap-switch-button-react 1.2.0
“[](https://github.com/gitbrent/bootstrap-sw…”
ActiveXObject constructor referenceActiveXObject name reference
SHA-2569d35a616376fa4ee1246ec84dfea853d30938b83c826f7b16521f0153eb00520
Evidence
1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7## [1.2.0] - 2019-12-05
8### Added
9- Added `componentDidUpdate` to fix update on props change [\#6](https://github.com/gitbrent/bootstrap-switch-button-react/pull/6) ([GustavoDinizMonteiro](https://github.com/GustavoDinizMonteiro))
10- Added missing methods to typescript defs [\#11](https://github.com/gitbrent/bootstrap-switch-button-react/issue/11) ([evark](https://github.com/evark))
11### Changed
12- Replaced inner `label` tags with `span` for accessibility
13- Updated demo to bootstrap 4.4.1
14
15## [1.1.0] - 2019-07-29
16### Added
17- Added new typescript defs (`bootstrap-switch-button-react.d.ts`)
18### Changed
19- Fixed dependencies in `package.json`
20
21## [1.0.0] - 2019-04-03
22### Added
23- New demo/api page (test folder) and a new height-test page
⋯4 lines
28- Added "keywords" and "bugs" to `package.json`
29
30## [1.0.0-beta.10] - 2019-03-29
31- Fix for touch event bug
32
33## [1.0.0-beta.9] - 2019-03-29
34- 2 bug fixes
35
36## [1.0.0-beta.8] - 2019-03-28
37- onChange breaking bug fix
38
39## [1.0.0-beta.7] - 2019-03-28
40- Compiled from src to lib now as commonjs
1[](https://github.com/gitbrent/bootstrap-switch-button-react/blob/master/LICENSE) [](https://david-dm.org/gitbrent/bootstrap-switch-button-react) [](https://snyk.io/test/npm/bootstrap-switch-button-react) [](https://packagequality.com/#?package=bootstrap-switch-button-react) [](https://www.npmjs.com/package/bootstrap-switch-button-react)
2
3# Bootstrap Switch Button for React
4
5Checkbox replacement using stylish bootstrap-4 switch button.
6
7Lightweight (15kb), self- …
13:85… -------|-------------------------------------------------------
14[bootstrap4-toggle](https://github.com/gitbrent/bootstrap4-toggle) | Supports bootstrap4 (requires jQuery)
15[bootstrap-switch-button](https://github.com/gitbrent/bootstrap-switch-button) | Supports bootstrap4+ (ES6 class, no dependencies)
16[bootstrap-switch-button-react](https://github.com/gitbrent/bootstrap-switch-button-react) | Supports bootstrap4+ (React component, no dependencies)
17
18# Demos
19**Demos and API Docs:** https://gitbrent.github.io/bootstrap-switch-button-react/
20
21```typescript
22<BootstrapSwitchButton onlabel='Admin User' offlabel='Regular User' checked={false}/>
23```
24
25
26
27
28# Installation
29NPM
30```bash
31npm i bootstrap-switch-button-react --save
32```
33Yarn
34```bash
35yard add bootstrap-switch-button-react
36```
37
38# Usage
39Keep `state` in sync using the `onChange` function property
40
41```typescript
42import BootstrapSwitchButton from 'bootstrap-switch …
1# @babel/code-frame
2
3> Generate errors that contain a code frame that point to source locations.
4
5See our website [@babel/code-frame](https://babeljs.io/docs/en/next/babel-code-frame.html) for more information.
6
7## Install
8
9Using npm:
10
11```sh
12npm install --save-dev @babel/code-frame
13```
14
15or using yarn:
16
17```sh
18yarn add @babel/code-frame --dev
19```
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.codeFrameColumns = codeFrameColumns;
7exports.default = _default;
8
9function _highlight() {
10 const data = _interopRequireWildcard(require("@babel/highlight"));
11
12 _highlight = function () {
⋯7 lines
Showing the top 5 files — 8 more files (129 regions) not shown.
No evidence locations were recorded for this file. Raw result