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

bulma-extensions

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bulma-extensions - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

bulma-tagsinput/tagsinput.min.js

2

bulma-tagsinput/package.json
{
"name": "bulma-tagsinput",
"version": "0.1.0",
"version": "0.1.1",
"description": "Bulma.io extension to add interaction on input tags",

@@ -5,0 +5,0 @@ "main": "tagsinput.sass",

class Tagify {
constructor(element, options = {}) {
let defaultOptions = {
debug: false,
disabled: false,

@@ -38,3 +37,3 @@ delimiter: ',',

this.element.parentNode[sib ? 'insertBefore':'appendChild'](this.container, sib);
this.element.style.cssText = 'position:absolute;left:0;top:-99px;width:1px;height:1px;opacity:0.01;';
this.element.style.cssText = 'position:absolute;left:0;top:0;width:1px;height:1px;opacity:0.01;';
this.element.tabIndex = -1;

@@ -85,2 +84,3 @@

this.container.removeChild(selectedTag);
delete this.tags[this.tags.indexOf(selectedTag.getAttribute('data-tag'))];
this.setInputWidth();

@@ -92,2 +92,3 @@ this.save();

this.container.removeChild(selectedTag);
delete this.tags[this.tags.indexOf(selectedTag.getAttribute('data-tag'))];
this.setInputWidth();

@@ -213,2 +214,3 @@ this.save();

this.container.removeChild(selectedTag);
delete this.tags[this.tags.indexOf(selectedTag.getAttribute('data-tag'))];
this.setInputWidth();

@@ -238,3 +240,3 @@ this.save();

(Array.prototype.slice.call(this.container.querySelectorAll('.tag'))).forEach((tag) => {
delete this.tags[tag.innerHTML];
delete this.tags[this.tags.indexOf(tag.innerHTML)];
this.container.removeChild(tag);

@@ -241,0 +243,0 @@ });

{
"name": "bulma-extensions",
"version": "0.3.0",
"version": "0.3.1",
"description": "Set of extensions for Bulma.io CSS Framework",

@@ -5,0 +5,0 @@ "main": "extensions.sass",

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