Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
@material/mwc-circular-progress
Advanced tools
<mwc-circular-progress>
IMPORTANT: The Material Web Components are a work in progress and subject to major changes until 1.0 release.
Progress indicators express an unspecified wait time or display the length of a process.
Material Design Guidelines: Progress Indicators
<script type="module">
import '@material/mwc-circular-progress/mwc-circular-progress.js';
</script>
<mwc-circular-progress progress="0.7"></mwc-circular-progress>
<mwc-circular-progress indeterminate></mwc-circular-progress>
<style>
mwc-circular-progress {
--mdc-theme-primary: red;
}
</style>
<mwc-circular-progress indeterminate></mwc-circular-progress>
None
Name | Type | Default | Description |
---|---|---|---|
indeterminate | boolean | false | Sets the circular-progress into its indeterminate state. |
progress | number | 0 | Sets the progress bar's value. Value should be between [0, 1]. |
density | number | 0 | Sets the progress indicator's sizing based on density scale. Minimum value is -8 . Each unit change in density scale corresponds to 4px change in side dimensions. The stroke width adjusts automatically. |
closed | boolean | false | Sets the progress indicator to the closed state. Sets content opacity to 0. Typically should be set to true when loading has finished. |
Name | Description |
---|---|
open() => void | Sets CircularProgress.closed to false ; |
close() => void | Sets CircularProgress.closed to true ; |
None
Name | Default | Description |
---|---|---|
--mdc-circular-progress-track-color | transparent | Sets the track color of the determinate progress bar. |
This component exposes the following global theming custom properties.
Name | Description |
---|---|
--mdc-theme-primary | Sets the color of primary progress bar. |
FAQs
Material Design circular progress web component
We found that @material/mwc-circular-progress demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?
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.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.