
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@ts-pro/vue-eternal-loading
Advanced tools
Infinity loading component vue3 projects. Slava Ukraini!
The Infinity loading component is written in TypeScript for Vue 3. No dependencies.
Yarn
yarn add @ts-pro/vue-eternal-loading
Npm
npm install @ts-pro/vue-eternal-loading
Browser
<head>
<!-- Vue 3 must be loaded before `vue-eternal-loading` -->
<script src="https://cdn.jsdelivr.net/gh/ts-pro/vue-eternal-loading/dist/vue-eternal-loading.umd.js"></script>
</head>
<VueEternalLoading :load="load"></VueEternalLoading>
const PAGE_SIZE = 5;
// We need to pass this method to the component,
// and it will be called automatically when needed.
async function load({ loaded }) {
// Load your data from the server or any other source.
const loadedItems = await loadItems(page);
items.value.push(...loadedItems);
page += 1;
// Call the `loaded` callback with 2 arguments:
// 1. The number of items we have loaded
// 2. Our page size to know when we have reached the end
loaded(loadedItems.length, PAGE_SIZE);
}
Check out our vue-eternal-loading docs
List releases vue-eternal-loading releases
Our component is specifically designed for Vue 3. If you are looking for a solution for Vue 2, you can check out this library vue-infinite-loading.
Please feel free to create an issue or submit a feature request vue-eternal-loading issues
MIT License
FAQs
Infinity loading component vue3 projects. Slava Ukraini!
The npm package @ts-pro/vue-eternal-loading receives a total of 2,035 weekly downloads. As such, @ts-pro/vue-eternal-loading popularity was classified as popular.
We found that @ts-pro/vue-eternal-loading demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.