Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@dfeidao/fd-am000002

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfeidao/fd-am000002

页面加载动画

latest
npmnpm
Version
4.6.201909241603
Version published
Maintainers
1
Created
Source

页面加载动画

Installation

yarn add --dev @dfeidao/fd-am000002

Params

Namedescribe
progressInnerImage进度条的中间部分,网络图片或本地图片
progressOuterImage进度条的环部分,网络图片或本地图片

Example

import am002 from '@dfeidao/fd-am000002';

const anim = am002();

try {
	// todo
} finally {
	await anim.destroy();
}
import am002 from '@dfeidao/fd-am000002';
const anim = am002(require('./1.jpg'), require('./2.jpg'));

try {
	// todo
} finally {
	await anim.destroy();
}
import am002 from '@dfeidao/fd-am000002';

const anim = am002('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1562758373542&di=6a566c56904ecb2a3de879c80762549f&imgtype=0&src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fblog%2F201510%2F29%2F20151029140701_LXET5.jpeg','https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1562758373542&di=6a566c56904ecb2a3de879c80762549f&imgtype=0&src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fblog%2F201510%2F29%2F20151029140701_LXET5.jpeg', {
	marginTop: 36
});

try {
	// todo
} finally {
	await anim.destroy();
}

Keywords

feidao

FAQs

Package last updated on 24 Sep 2019

Did you know?

Socket

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.

Install

Related posts