
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
marionette.loading
Advanced tools
Marionette.loading simplifies creating loading views in your application.
Marionette.loading simplifies creating loading views in your application.
With little work your views are automatically replaced with loading view when your collections and models are syncing with server.
There are two ways to initialize Marionette.loading.
Easiest way is to use new View classes:
Alternatively you can call this.setupMarionetteLoading(); in any Marionette View (could be in initialize()). This will bind all necessary events.
Using Marionette.loading is similar to using emptyView in Marionette.CollectionView.
Just use loadingView property.
LoadingView = Backbone.Marionette.ItemView.extend({
template: "#show-loading"
});
Backbone.Marionette.CollectionView.extend({
// ...
loadingView: LoadingView
});
Trigger 'loading' event on your collection or model to force your view to change to loading. Trigger 'loaded' event to do opposite.
Marionette.loading counts all events. If you trigger 'request' or 'loading' event N times it requires trigerring 'sync' or 'loaded' items N times as well.
FAQs
Marionette.loading simplifies creating loading views in your application.
The npm package marionette.loading receives a total of 0 weekly downloads. As such, marionette.loading popularity was classified as not popular.
We found that marionette.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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.