Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@material/mwc-circular-progress
Advanced tools
Readme
<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';
</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
The npm package @material/mwc-circular-progress receives a total of 3,208 weekly downloads. As such, @material/mwc-circular-progress popularity was classified as popular.
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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.