Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@patternfly/pfe-progress-indicator
Advanced tools
Progress element for PatternFly Elements
pfe-progress-indicator
is a "loader" that indicates to the user that part of the web page is loading, or waiting on other http events to be ready to use.
<pfe-progress-indicator pfe-indeterminate>
<h1>My fallback loading message</h1>
</pfe-progress-indicator>
At the time of writing there is only one style variant, pfe-indeterminate
that spins without informing the user of where they are in the waiting process, only that http activity has not been resolved. This may change in the future as more style variants become available.
Progress Indicator has one unnamed slot only.
We expect any html tag to be the first child inside pfe-progress-indicator
element. The provided element should contain a fallback loading message if JavaScript should fail for any reason. When the element is connected, the loading message is visually hidden, and replaced by an animated "spinner".
E.g.
// The web component that upgrades to a "loader"
<pfe-progress-indicator>
// your custom message for JS failure AND a11y technologies
<h1>
This text will be seen if JS fails, but will be hidden on upgrade.
Screen readers will still see it as a part of the DOM.
</h1>
</pfe-progress-indicator>
As of writing, the progress indicator element has only one style, but in the future it could be expanded to include many different types of progress indicators.
npm run test
npm run build
From the PFElements root directory, run:
npm start
Progress Indicator (and all PFElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.
FAQs
Progress element for PatternFly Elements
The npm package @patternfly/pfe-progress-indicator receives a total of 132 weekly downloads. As such, @patternfly/pfe-progress-indicator popularity was classified as not popular.
We found that @patternfly/pfe-progress-indicator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.