Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@material/mwc-circular-progress
Advanced tools
Material Design circular progress web component
<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-theme-primary | #6200EE | 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 4,926 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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.