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

msc-circle-progress

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

msc-circle-progress - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

16

mjs/wc-msc-circle-progress.js

@@ -16,3 +16,3 @@ import { _wcl } from './common-lib.js';

max: 100,
round: true
round: false
};

@@ -152,3 +152,3 @@

// upgradeProperty
Object.keys(defaults).forEach((key) => this._upgradeProperty(key));
Object.keys(defaults).forEach((key) => this.#upgradeProperty(key));

@@ -160,3 +160,3 @@ // evts

this._onValue();
this.#onValue();
this._onRefresh();

@@ -171,3 +171,3 @@ }

_format(attrName, oldValue, newValue) {
#format(attrName, oldValue, newValue) {
const hasValue = newValue !== null;

@@ -220,3 +220,3 @@

this._format(attrName, oldValue, newValue);
this.#format(attrName, oldValue, newValue);

@@ -234,3 +234,3 @@ switch (attrName) {

case 'value':
this._onValue();
this.#onValue();
break;

@@ -244,3 +244,3 @@ }

_upgradeProperty(prop) {
#upgradeProperty(prop) {
let value;

@@ -310,3 +310,3 @@

_onValue() {
#onValue() {
const value = (this.value / this.max) * 100;

@@ -313,0 +313,0 @@

{
"name": "msc-circle-progress",
"version": "1.0.1",
"version": "1.0.2",
"description": "<msc-circle-progress /> provides progress with circle shape. Developers could use it to indicate upload、form complete status for users.",

@@ -5,0 +5,0 @@ "main": "index.html",

@@ -148,3 +148,3 @@ # msc-circle-progress

It will switch &lt;msc-circle-progress /> bar as round once set. Default is `true` (not set).
It will switch &lt;msc-circle-progress /> bar as round once set. Default is `false` (not set).

@@ -166,3 +166,3 @@ ```html

| max | Number | Getter / Setter for max. Default is `100`. |
| round | Boolean | Getter / Setter for round. Default is `true`. |
| round | Boolean | Getter / Setter for round. Default is `false`. |

@@ -169,0 +169,0 @@ ## Method

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