0 Star 0 Fork 0

TY RN鸿蒙化团队/ty-react-native-blob-util

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ProgressEvent.js 704 Bytes
一键复制 编辑 原始数据 按行查看 历史
2385654297 提交于 2025-04-08 10:56 +08:00 . ty-react-native-blob-util提交
// Copyright 2016 wkh237@github. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
import Event from './Event';
export default class ProgressEvent extends Event {
_lengthComputable: boolean = false;
_loaded: number = -1;
_total: numver = -1;
constructor(lengthComputable, loaded, total) {
super();
this._lengthComputable = lengthComputable;
this._loaded = loaded;
this._total = total;
}
get lengthComputable() {
return this._lengthComputable;
}
get loaded() {
return this._loaded;
}
get total() {
return this._total;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/harmonytsc_rn_ty/ty-react-native-blob-util.git
git@gitee.com:harmonytsc_rn_ty/ty-react-native-blob-util.git
harmonytsc_rn_ty
ty-react-native-blob-util
ty-react-native-blob-util
master

搜索帮助