Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@essent/nativescript-loading-indicator
Advanced tools
A NativeScript plugin for showing an overlayed loading indicator.
nativescript-loading-indicator is a plugin for NativeScript which overlays a loading indicator on the current page. Can be used, for example, to prevent the UI being interacted with while data is being fetched from an API, while informing the user that something is happening.
tns plugin add nativescript-loading-indicator
var LoadingIndicator = require("nativescript-loading-indicator").LoadingIndicator;
// or with TypeScript:
// import {LoadingIndicator} from "nativescript-loading-indicator";
var loader = new LoadingIndicator();
// optional options
// android and ios have some platform specific options
var options = {
message: 'Loading...',
progress: 0.65,
android: {
indeterminate: true,
cancelable: false,
max: 100,
progressNumberFormat: "%1d/%2d",
progressPercentFormat: 0.53,
progressStyle: 1,
secondaryProgress: 1
},
ios: {
details: "Additional detail note!",
margin: 10,
dimBackground: true,
color: "#4B9ED6", // color of indicator and labels
// background box around indicator
// hideBezel will override this if true
backgroundColor: "yellow",
hideBezel: true, // default false, can hide the surrounding bezel
view: UIView, // Target view to show on top of (Defaults to entire window)
mode: // see iOS specific options below
}
};
loader.show(options); // options is optional
// Do whatever it is you want to do while the loader is showing, then
loader.hide();
string
Your message!number
Set progress displayQuick Mode
Reference:
MBProgressHUDModeDeterminate
MBProgressHUDModeAnnularDeterminate
MBProgressHUDModeDeterminateHorizontalBar
MBProgressHUDModeText
MBProgressHUDModeCustomView
customView: string
- local path to an image fileFAQs
A NativeScript plugin for showing an overlayed loading indicator.
The npm package @essent/nativescript-loading-indicator receives a total of 1 weekly downloads. As such, @essent/nativescript-loading-indicator popularity was classified as not popular.
We found that @essent/nativescript-loading-indicator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 34 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 uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.