@realsee/five 5.0.0-alpha.21 → 5.0.0-alpha.210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -8
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +134 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1414 -0
- package/docs/classes/five.AnimationFrameLoop.html +15 -0
- package/docs/classes/five.BVH.html +10 -0
- package/docs/classes/five.BVHIntersect.html +1 -0
- package/docs/classes/five.BVHNode.html +7 -0
- package/docs/classes/five.BVHVector3.html +1 -0
- package/docs/classes/five.Camera.html +11 -0
- package/docs/classes/five.Clipper.html +1 -0
- package/docs/classes/five.Five.html +335 -0
- package/docs/classes/five.InternalWebGLRenderer.html +1 -0
- package/docs/classes/five.IntersectMesh.html +1 -0
- package/docs/classes/five.Model.html +99 -0
- package/docs/classes/five.NetworkSubscribe.html +50 -0
- package/docs/classes/five.PBMContainer.html +17 -0
- package/docs/classes/five.PBMGroup.html +19 -0
- package/docs/classes/five.PBMMaterial.html +29 -0
- package/docs/classes/five.PBMMesh.html +7 -0
- package/docs/classes/five.PanoCircleMesh.html +7 -0
- package/docs/classes/five.PanoCircleMeshCustom.html +7 -0
- package/docs/classes/five.PanoCircleMeshSolid.html +7 -0
- package/docs/classes/five.Scene.html +3 -0
- package/docs/classes/five.Subscribe.html +56 -0
- package/docs/classes/five.TextureLoader.html +1 -0
- package/docs/classes/five.Tile3D.html +34 -0
- package/docs/classes/five.Tile3DModel.html +15 -0
- package/docs/classes/five.TileBoundingSphere.html +1 -0
- package/docs/classes/five.TileCacheNode.html +1 -0
- package/docs/classes/five.TileCubeTextureTarget.html +1 -0
- package/docs/classes/five.TileCullingVolume.html +1 -0
- package/docs/classes/five.TileOrientedBoundingBox.html +1 -0
- package/docs/classes/five.TileRequestScheduler.html +16 -0
- package/docs/classes/five.Tileset3D.html +11 -0
- package/docs/classes/five.Tileset3DTraverser.html +1 -0
- package/docs/classes/five.TilesetCache.html +1 -0
- package/docs/classes/five.Work.html +32 -0
- package/docs/classes/five.XRButton.html +1 -0
- package/docs/classes/gltf_loader.DDSLoader.html +1 -0
- package/docs/classes/gltf_loader.DRACOLoader.html +1 -0
- package/docs/classes/gltf_loader.GLTFLoader.html +17 -0
- package/docs/classes/gltf_loader.GLTFObject.html +7 -0
- package/docs/classes/gltf_loader.GLTFParser.html +1 -0
- package/docs/classes/gltf_loader.THREEGLTFLoader.html +1 -0
- package/docs/classes/line.Line.html +1 -0
- package/docs/classes/line.LineGeometry.html +1 -0
- package/docs/classes/line.LineMaterial.html +1 -0
- package/docs/classes/line.LineSegmentsGeometry.html +1 -0
- package/docs/classes/line.THREE_Line2.html +1 -0
- package/docs/classes/line.THREE_LineSegments2.html +1 -0
- package/docs/classes/react.Store.html +29 -0
- package/docs/classes/server.BVH.html +10 -0
- package/docs/classes/server.BVHIntersect.html +1 -0
- package/docs/classes/server.BVHNode.html +7 -0
- package/docs/classes/server.BVHVector3.html +1 -0
- package/docs/classes/server.Model.html +70 -0
- package/docs/classes/server.PBMContainer.html +7 -0
- package/docs/classes/server.PBMGroup.html +9 -0
- package/docs/classes/server.PBMMesh.html +7 -0
- package/docs/classes/sticker.Sticker.html +32 -0
- package/docs/classes/vfx.Airflow.html +1 -0
- package/docs/classes/vfx.Flame.html +1 -0
- package/docs/classes/vfx.Particle.html +89 -0
- package/docs/classes/vfx.SpotLight.html +1 -0
- package/docs/index.html +166 -434
- package/docs/interfaces/five.AddableObject.html +9 -0
- package/docs/interfaces/five.AnimationFrame.html +1 -0
- package/docs/interfaces/five.CameraPose.html +1 -0
- package/docs/interfaces/five.ClipperParameter.html +1 -0
- package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +28 -0
- package/docs/interfaces/five.EventCallback.html +405 -0
- package/docs/interfaces/five.FiveInitArgs.html +111 -0
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -0
- package/docs/interfaces/five.ImageOptions.html +18 -0
- package/docs/interfaces/five.ImageURLMappings.html +1 -0
- package/docs/interfaces/five.ImageURLOptions.html +15 -0
- package/docs/interfaces/five.IntersectMeshInterface.html +3 -0
- package/docs/interfaces/five.Intersection.html +7 -0
- package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +15 -0
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +20 -0
- package/docs/interfaces/five.ModelEventCallback.html +26 -0
- package/docs/interfaces/five.ModelLodOptions.html +1 -0
- package/docs/interfaces/five.MotionKeyframe.html +1 -0
- package/docs/interfaces/five.MovePanoOptions.html +42 -0
- package/docs/interfaces/five.NetworkOptions.html +9 -0
- package/docs/interfaces/five.PBMPanoPicture.html +7 -0
- package/docs/interfaces/five.PBMParameters.html +29 -0
- package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +1 -0
- package/docs/interfaces/five.PanoCircleMeshInterface.html +19 -0
- package/docs/interfaces/five.PanoCircleMeshOptions.html +1 -0
- package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +1 -0
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +35 -0
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +20 -0
- package/docs/interfaces/five.Pose.html +37 -0
- package/docs/interfaces/five.Scissor.html +14 -0
- package/docs/interfaces/five.State.html +21 -0
- package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.off.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.on.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.once.html +1 -0
- package/docs/interfaces/five.TextureOptions.html +20 -0
- package/docs/interfaces/five.Tile3DModelLoaderOptions.html +3 -0
- package/docs/interfaces/five.TileBoundingVolume.html +19 -0
- package/docs/interfaces/five.TileContent.html +1 -0
- package/docs/interfaces/five.TileCubeNode.html +1 -0
- package/docs/interfaces/five.TileCubeTree.html +1 -0
- package/docs/interfaces/five.Tileset3dOptions.html +1 -0
- package/docs/interfaces/five.TilesetJSON.html +1 -0
- package/docs/interfaces/five.TilesetJSONNode.html +1 -0
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -0
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +31 -0
- package/docs/interfaces/five.WebXRAxesParams.html +1 -0
- package/docs/interfaces/five.WebXRControllerParams.html +1 -0
- package/docs/interfaces/five.WorkCubeImage.html +13 -0
- package/docs/interfaces/five.WorkImage.html +21 -0
- package/docs/interfaces/five.WorkInitial.html +13 -0
- package/docs/interfaces/five.WorkModel.html +11 -0
- package/docs/interfaces/five.WorkModelTiles.html +3 -0
- package/docs/interfaces/five.WorkObserver.html +27 -0
- package/docs/interfaces/five.WorkTile.html +1 -0
- package/docs/interfaces/five.WorkVideo.html +9 -0
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +31 -0
- package/docs/interfaces/gltf_loader.DDS.html +1 -0
- package/docs/interfaces/gltf_loader.GLTF.html +7 -0
- package/docs/interfaces/gltf_loader.GLTFReference.html +1 -0
- package/docs/interfaces/gltf_loader.THREEGLTF.html +1 -0
- package/docs/interfaces/react.FiveActionReactCallbacks.html +52 -0
- package/docs/interfaces/react.FiveInjectionTypes.html +181 -0
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +1 -0
- package/docs/interfaces/server.Intersection.html +7 -0
- package/docs/interfaces/server.ModelEventCallback.html +18 -0
- package/docs/interfaces/sticker.IntersectionLike.html +8 -0
- package/docs/interfaces/vfx.ParticleArgs.html +75 -0
- package/docs/interfaces/vfx.ParticleTweenKeyframe.html +1 -0
- package/docs/interfaces/vue.FiveActionVueCallbacks.html +60 -0
- package/docs/modules/five.SubscribeMixinType.html +1 -0
- package/docs/modules/five.html +470 -3006
- package/docs/modules/gltf_loader.html +1 -155
- package/docs/modules/line.html +1 -210
- package/docs/modules/react.html +130 -1507
- package/docs/modules/server.html +18 -526
- package/docs/modules/sticker.html +1 -151
- package/docs/modules/vfx.html +1 -0
- package/docs/modules/vue.html +115 -0
- package/docs/modules.html +1 -136
- package/exporters/staticify.js +210 -0
- package/five/index.d.ts +1505 -283
- package/five/index.js +362 -1
- package/gltf-loader/index.d.ts +90 -5
- package/gltf-loader/index.js +260 -1
- package/line/index.d.ts +1 -0
- package/line/index.js +260 -1
- package/package.json +12 -11
- package/react/index.d.ts +73 -72
- package/react/index.js +260 -1
- package/scripts/five-staticify.js +26 -0
- package/server/index.d.ts +222 -27
- package/server/index.js +357 -1
- package/sticker/index.d.ts +2 -1
- package/sticker/index.js +260 -1
- package/templates/quick-start/package.json +1 -1
- package/umd/five-gltf-loader.js +1 -2
- package/umd/five-line.js +1 -2
- package/umd/five-react.js +1 -2
- package/umd/five-sticker.js +1 -2
- package/umd/five-vfx.js +1 -0
- package/umd/five-vue.js +1 -0
- package/umd/five.js +1 -1
- package/umd/five.js.LICENSE.txt +58 -118
- package/vfx/index.d.ts +264 -0
- package/vfx/index.js +260 -0
- package/vue/index.d.ts +441 -0
- package/vue/index.js +260 -0
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/five.camera.html +0 -323
- package/docs/classes/five.five-1.html +0 -2670
- package/docs/classes/five.hashcubetexture.html +0 -252
- package/docs/classes/five.internalwebglrenderer.html +0 -212
- package/docs/classes/five.model.html +0 -962
- package/docs/classes/five.pbmcontainer.html +0 -411
- package/docs/classes/five.pbmgroup.html +0 -430
- package/docs/classes/five.pbmmaterial.html +0 -533
- package/docs/classes/five.pbmmesh.html +0 -254
- package/docs/classes/five.scene.html +0 -263
- package/docs/classes/five.subscribe.html +0 -569
- package/docs/classes/gltf_loader.gltfloader.html +0 -412
- package/docs/classes/gltf_loader.gltfobject.html +0 -287
- package/docs/classes/line.line-1.html +0 -384
- package/docs/classes/line.linegeometry.html +0 -530
- package/docs/classes/line.linematerial.html +0 -306
- package/docs/classes/line.linesegmentsgeometry.html +0 -477
- package/docs/classes/line.three_line2.html +0 -280
- package/docs/classes/line.three_linesegments2.html +0 -282
- package/docs/classes/react.store.html +0 -605
- package/docs/classes/server.model.html +0 -823
- package/docs/classes/server.pbmgroup.html +0 -366
- package/docs/classes/server.pbmmesh.html +0 -335
- package/docs/classes/sticker.sticker-1.html +0 -465
- package/docs/interfaces/five.addableobject.html +0 -234
- package/docs/interfaces/five.depthpanoramacontrollercustominitargs.html +0 -420
- package/docs/interfaces/five.eventcallback.html +0 -2548
- package/docs/interfaces/five.fiveinitargs.html +0 -707
- package/docs/interfaces/five.floorplancontrollercustominitargs.html +0 -295
- package/docs/interfaces/five.imageoptions.html +0 -332
- package/docs/interfaces/five.intersection.html +0 -227
- package/docs/interfaces/five.intersectmeshinterface.html +0 -188
- package/docs/interfaces/five.modelcontrollercustominitargs.html +0 -366
- package/docs/interfaces/five.modeleventcallback.html +0 -367
- package/docs/interfaces/five.movepanooptions.html +0 -469
- package/docs/interfaces/five.panocirclemeshinterface.html +0 -361
- package/docs/interfaces/five.panoramacontrollercustominitargs.html +0 -464
- package/docs/interfaces/five.panoramalikecontrollercustominitargs.html +0 -364
- package/docs/interfaces/five.pbmparameters.html +0 -474
- package/docs/interfaces/five.pose.html +0 -270
- package/docs/interfaces/five.scissor.html +0 -252
- package/docs/interfaces/five.state.html +0 -300
- package/docs/interfaces/five.subscribemixintype.emit.html +0 -180
- package/docs/interfaces/five.subscribemixintype.haslistener.html +0 -171
- package/docs/interfaces/five.subscribemixintype.off.html +0 -198
- package/docs/interfaces/five.subscribemixintype.on.html +0 -213
- package/docs/interfaces/five.subscribemixintype.once.html +0 -210
- package/docs/interfaces/five.topviewcontrollercustominitargs.html +0 -226
- package/docs/interfaces/five.vrpanoramacontrollercustominitargs.html +0 -452
- package/docs/interfaces/gltf_loader.gltf.html +0 -304
- package/docs/interfaces/react.fiveactionreactcallbacks.html +0 -580
- package/docs/interfaces/react.fiveinjectiontypes.html +0 -1625
- package/docs/interfaces/react.injectfivetoprops.html +0 -280
- package/docs/interfaces/server.intersection.html +0 -308
- package/docs/interfaces/server.modeleventcallback.html +0 -409
- package/docs/interfaces/sticker.intersectionlike.html +0 -223
- package/docs/modules/five.subscribemixintype.html +0 -143
- package/scripts/export-five-resource/chfs.exe +0 -0
- package/scripts/export-five-resource/fileify.js +0 -192
- package/scripts/export-five-resource/format-work.js +0 -71
- package/scripts/export-five-resource/staticify.js +0 -327
- package/scripts/transcode-model/BufferGeometryUtils.js +0 -832
- package/scripts/transcode-model/LoaderSupport.js +0 -1545
- package/scripts/transcode-model/MTLLoader.js +0 -602
- package/scripts/transcode-model/OBJLoader2.js +0 -1470
- package/scripts/transcode-model/obj2pbm.js +0 -65
- /package/docs/assets/{images/icons.png → icons.png} +0 -0
- /package/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
- /package/docs/assets/{images/widgets.png → widgets.png} +0 -0
- /package/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
- /package/resource/{basis_transcoder.js → basis/basis_transcoder.js} +0 -0
- /package/resource/{basis_transcoder.wasm → basis/basis_transcoder.wasm} +0 -0
- /package/resource/{draco_decoder.js → gltf/draco_decoder.js} +0 -0
- /package/resource/{draco_decoder.wasm → gltf/draco_decoder.wasm} +0 -0
- /package/resource/{draco_wasm_wrapper.js → gltf/draco_wasm_wrapper.js} +0 -0
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>off | 如视 Five SDK - v5.0.0-alpha.21</title>
|
|
7
|
-
<meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.21">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<header>
|
|
14
|
-
<div class="tsd-page-toolbar">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="table-wrap">
|
|
17
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
18
|
-
<div class="field">
|
|
19
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
20
|
-
<input id="tsd-search-field" type="text" />
|
|
21
|
-
</div>
|
|
22
|
-
<ul class="results">
|
|
23
|
-
<li class="state loading">Preparing search index...</li>
|
|
24
|
-
<li class="state failure">The search index is not available</li>
|
|
25
|
-
</ul>
|
|
26
|
-
<a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="table-cell" id="tsd-widgets">
|
|
29
|
-
<div id="tsd-filter">
|
|
30
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
31
|
-
<div class="tsd-filter-group">
|
|
32
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="tsd-page-title">
|
|
50
|
-
<div class="container">
|
|
51
|
-
<ul class="tsd-breadcrumb">
|
|
52
|
-
<li>
|
|
53
|
-
<a href="../modules.html">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../modules/five.html">five</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="../modules/five.subscribemixintype.html">SubscribeMixinType</a>
|
|
60
|
-
</li>
|
|
61
|
-
<li>
|
|
62
|
-
<a href="five.subscribemixintype.off.html">off</a>
|
|
63
|
-
</li>
|
|
64
|
-
</ul>
|
|
65
|
-
<h1>Interface off<T></h1>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</header>
|
|
69
|
-
<div class="container container-main">
|
|
70
|
-
<div class="row">
|
|
71
|
-
<div class="col-8 col-content">
|
|
72
|
-
<section class="tsd-panel tsd-type-parameters">
|
|
73
|
-
<h3>Type parameters</h3>
|
|
74
|
-
<ul class="tsd-type-parameters">
|
|
75
|
-
<li>
|
|
76
|
-
<h4>T<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#subscribeeventmap" class="tsd-signature-type" data-tsd-kind="Type alias">SubscribeEventMap</a></h4>
|
|
77
|
-
</li>
|
|
78
|
-
</ul>
|
|
79
|
-
</section>
|
|
80
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
81
|
-
<h3>Hierarchy</h3>
|
|
82
|
-
<ul class="tsd-hierarchy">
|
|
83
|
-
<li>
|
|
84
|
-
<span class="target">off</span>
|
|
85
|
-
</li>
|
|
86
|
-
</ul>
|
|
87
|
-
</section>
|
|
88
|
-
<section class="tsd-panel">
|
|
89
|
-
<h3 class="tsd-before-signature">Callable</h3>
|
|
90
|
-
<ul class="tsd-signatures tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
91
|
-
<li class="tsd-signature tsd-kind-icon">off<K><span class="tsd-signature-symbol">(</span>names<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">[]</span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
92
|
-
</ul>
|
|
93
|
-
<ul class="tsd-descriptions">
|
|
94
|
-
<li class="tsd-description">
|
|
95
|
-
<aside class="tsd-sources">
|
|
96
|
-
<ul>
|
|
97
|
-
<li>Defined in lib/five/core/subscribe.ts:149</li>
|
|
98
|
-
</ul>
|
|
99
|
-
</aside>
|
|
100
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
101
|
-
<ul class="tsd-type-parameters">
|
|
102
|
-
<li>
|
|
103
|
-
<h4>K<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h4>
|
|
104
|
-
</li>
|
|
105
|
-
</ul>
|
|
106
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
107
|
-
<ul class="tsd-parameters">
|
|
108
|
-
<li>
|
|
109
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> names: <span class="tsd-signature-type">K</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
110
|
-
</li>
|
|
111
|
-
<li>
|
|
112
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span></h5>
|
|
113
|
-
<ul class="tsd-parameters">
|
|
114
|
-
<li class="tsd-parameter-signature">
|
|
115
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
116
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
|
|
117
|
-
</ul>
|
|
118
|
-
<ul class="tsd-descriptions">
|
|
119
|
-
<li class="tsd-description">
|
|
120
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
121
|
-
<ul class="tsd-parameters">
|
|
122
|
-
<li>
|
|
123
|
-
<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
124
|
-
</li>
|
|
125
|
-
</ul>
|
|
126
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
|
127
|
-
</li>
|
|
128
|
-
</ul>
|
|
129
|
-
</li>
|
|
130
|
-
</ul>
|
|
131
|
-
</li>
|
|
132
|
-
</ul>
|
|
133
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
134
|
-
</li>
|
|
135
|
-
</ul>
|
|
136
|
-
</section>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
139
|
-
<nav class="tsd-navigation primary">
|
|
140
|
-
<ul>
|
|
141
|
-
<li class=" ">
|
|
142
|
-
<a href="../modules.html">Modules</a>
|
|
143
|
-
</li>
|
|
144
|
-
</ul>
|
|
145
|
-
</nav>
|
|
146
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
147
|
-
<ul class="before-current">
|
|
148
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
149
|
-
<a href="five.subscribemixintype.emit.html" class="tsd-kind-icon">emit</a>
|
|
150
|
-
</li>
|
|
151
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
152
|
-
<a href="five.subscribemixintype.haslistener.html" class="tsd-kind-icon">has<wbr>Listener</a>
|
|
153
|
-
</li>
|
|
154
|
-
</ul>
|
|
155
|
-
<ul class="current">
|
|
156
|
-
<li class="current tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
157
|
-
<a href="five.subscribemixintype.off.html" class="tsd-kind-icon">off</a>
|
|
158
|
-
</li>
|
|
159
|
-
</ul>
|
|
160
|
-
<ul class="after-current">
|
|
161
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
162
|
-
<a href="five.subscribemixintype.on.html" class="tsd-kind-icon">on</a>
|
|
163
|
-
</li>
|
|
164
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
165
|
-
<a href="five.subscribemixintype.once.html" class="tsd-kind-icon">once</a>
|
|
166
|
-
</li>
|
|
167
|
-
</ul>
|
|
168
|
-
</nav>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
<footer>
|
|
173
|
-
<div class="container">
|
|
174
|
-
<h2>Legend</h2>
|
|
175
|
-
<div class="tsd-legend-group">
|
|
176
|
-
<ul class="tsd-legend">
|
|
177
|
-
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
|
178
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
179
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
180
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
181
|
-
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
182
|
-
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
183
|
-
</ul>
|
|
184
|
-
<ul class="tsd-legend">
|
|
185
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
186
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
187
|
-
</ul>
|
|
188
|
-
<ul class="tsd-legend">
|
|
189
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
190
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
191
|
-
</ul>
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
194
|
-
</footer>
|
|
195
|
-
<div class="overlay"></div>
|
|
196
|
-
<script src="../assets/js/main.js"></script>
|
|
197
|
-
</body>
|
|
198
|
-
</html>
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>on | 如视 Five SDK - v5.0.0-alpha.21</title>
|
|
7
|
-
<meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.21">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<header>
|
|
14
|
-
<div class="tsd-page-toolbar">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="table-wrap">
|
|
17
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
18
|
-
<div class="field">
|
|
19
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
20
|
-
<input id="tsd-search-field" type="text" />
|
|
21
|
-
</div>
|
|
22
|
-
<ul class="results">
|
|
23
|
-
<li class="state loading">Preparing search index...</li>
|
|
24
|
-
<li class="state failure">The search index is not available</li>
|
|
25
|
-
</ul>
|
|
26
|
-
<a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="table-cell" id="tsd-widgets">
|
|
29
|
-
<div id="tsd-filter">
|
|
30
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
31
|
-
<div class="tsd-filter-group">
|
|
32
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="tsd-page-title">
|
|
50
|
-
<div class="container">
|
|
51
|
-
<ul class="tsd-breadcrumb">
|
|
52
|
-
<li>
|
|
53
|
-
<a href="../modules.html">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../modules/five.html">five</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="../modules/five.subscribemixintype.html">SubscribeMixinType</a>
|
|
60
|
-
</li>
|
|
61
|
-
<li>
|
|
62
|
-
<a href="five.subscribemixintype.on.html">on</a>
|
|
63
|
-
</li>
|
|
64
|
-
</ul>
|
|
65
|
-
<h1>Interface on<T></h1>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</header>
|
|
69
|
-
<div class="container container-main">
|
|
70
|
-
<div class="row">
|
|
71
|
-
<div class="col-8 col-content">
|
|
72
|
-
<section class="tsd-panel tsd-type-parameters">
|
|
73
|
-
<h3>Type parameters</h3>
|
|
74
|
-
<ul class="tsd-type-parameters">
|
|
75
|
-
<li>
|
|
76
|
-
<h4>T<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#subscribeeventmap" class="tsd-signature-type" data-tsd-kind="Type alias">SubscribeEventMap</a></h4>
|
|
77
|
-
</li>
|
|
78
|
-
</ul>
|
|
79
|
-
</section>
|
|
80
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
81
|
-
<h3>Hierarchy</h3>
|
|
82
|
-
<ul class="tsd-hierarchy">
|
|
83
|
-
<li>
|
|
84
|
-
<span class="target">on</span>
|
|
85
|
-
</li>
|
|
86
|
-
</ul>
|
|
87
|
-
</section>
|
|
88
|
-
<section class="tsd-panel">
|
|
89
|
-
<h3 class="tsd-before-signature">Callable</h3>
|
|
90
|
-
<ul class="tsd-signatures tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
91
|
-
<li class="tsd-signature tsd-kind-icon">on<K><span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">K</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span>, once<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></li>
|
|
92
|
-
</ul>
|
|
93
|
-
<ul class="tsd-descriptions">
|
|
94
|
-
<li class="tsd-description">
|
|
95
|
-
<aside class="tsd-sources">
|
|
96
|
-
<ul>
|
|
97
|
-
<li>Defined in lib/five/core/subscribe.ts:136</li>
|
|
98
|
-
</ul>
|
|
99
|
-
</aside>
|
|
100
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
101
|
-
<ul class="tsd-type-parameters">
|
|
102
|
-
<li>
|
|
103
|
-
<h4>K<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h4>
|
|
104
|
-
</li>
|
|
105
|
-
</ul>
|
|
106
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
107
|
-
<ul class="tsd-parameters">
|
|
108
|
-
<li>
|
|
109
|
-
<h5>name: <span class="tsd-signature-type">K</span></h5>
|
|
110
|
-
</li>
|
|
111
|
-
<li>
|
|
112
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h5>
|
|
113
|
-
<ul class="tsd-parameters">
|
|
114
|
-
<li class="tsd-parameter-signature">
|
|
115
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
116
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></li>
|
|
117
|
-
</ul>
|
|
118
|
-
<ul class="tsd-descriptions">
|
|
119
|
-
<li class="tsd-description">
|
|
120
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
121
|
-
<ul class="tsd-parameters">
|
|
122
|
-
<li>
|
|
123
|
-
<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h5>
|
|
124
|
-
</li>
|
|
125
|
-
</ul>
|
|
126
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h4>
|
|
127
|
-
</li>
|
|
128
|
-
</ul>
|
|
129
|
-
</li>
|
|
130
|
-
</ul>
|
|
131
|
-
</li>
|
|
132
|
-
<li>
|
|
133
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> once: <span class="tsd-signature-type">boolean</span></h5>
|
|
134
|
-
</li>
|
|
135
|
-
</ul>
|
|
136
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h4>
|
|
137
|
-
<ul class="tsd-parameters">
|
|
138
|
-
<li class="tsd-parameter-signature">
|
|
139
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
140
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
141
|
-
</ul>
|
|
142
|
-
<ul class="tsd-descriptions">
|
|
143
|
-
<li class="tsd-description">
|
|
144
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
145
|
-
</li>
|
|
146
|
-
</ul>
|
|
147
|
-
</li>
|
|
148
|
-
</ul>
|
|
149
|
-
</li>
|
|
150
|
-
</ul>
|
|
151
|
-
</section>
|
|
152
|
-
</div>
|
|
153
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
154
|
-
<nav class="tsd-navigation primary">
|
|
155
|
-
<ul>
|
|
156
|
-
<li class=" ">
|
|
157
|
-
<a href="../modules.html">Modules</a>
|
|
158
|
-
</li>
|
|
159
|
-
</ul>
|
|
160
|
-
</nav>
|
|
161
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
162
|
-
<ul class="before-current">
|
|
163
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
164
|
-
<a href="five.subscribemixintype.emit.html" class="tsd-kind-icon">emit</a>
|
|
165
|
-
</li>
|
|
166
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
167
|
-
<a href="five.subscribemixintype.haslistener.html" class="tsd-kind-icon">has<wbr>Listener</a>
|
|
168
|
-
</li>
|
|
169
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
170
|
-
<a href="five.subscribemixintype.off.html" class="tsd-kind-icon">off</a>
|
|
171
|
-
</li>
|
|
172
|
-
</ul>
|
|
173
|
-
<ul class="current">
|
|
174
|
-
<li class="current tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
175
|
-
<a href="five.subscribemixintype.on.html" class="tsd-kind-icon">on</a>
|
|
176
|
-
</li>
|
|
177
|
-
</ul>
|
|
178
|
-
<ul class="after-current">
|
|
179
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
180
|
-
<a href="five.subscribemixintype.once.html" class="tsd-kind-icon">once</a>
|
|
181
|
-
</li>
|
|
182
|
-
</ul>
|
|
183
|
-
</nav>
|
|
184
|
-
</div>
|
|
185
|
-
</div>
|
|
186
|
-
</div>
|
|
187
|
-
<footer>
|
|
188
|
-
<div class="container">
|
|
189
|
-
<h2>Legend</h2>
|
|
190
|
-
<div class="tsd-legend-group">
|
|
191
|
-
<ul class="tsd-legend">
|
|
192
|
-
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
|
193
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
194
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
195
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
196
|
-
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
197
|
-
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
198
|
-
</ul>
|
|
199
|
-
<ul class="tsd-legend">
|
|
200
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
201
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
202
|
-
</ul>
|
|
203
|
-
<ul class="tsd-legend">
|
|
204
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
205
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
206
|
-
</ul>
|
|
207
|
-
</div>
|
|
208
|
-
</div>
|
|
209
|
-
</footer>
|
|
210
|
-
<div class="overlay"></div>
|
|
211
|
-
<script src="../assets/js/main.js"></script>
|
|
212
|
-
</body>
|
|
213
|
-
</html>
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>once | 如视 Five SDK - v5.0.0-alpha.21</title>
|
|
7
|
-
<meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.21">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<header>
|
|
14
|
-
<div class="tsd-page-toolbar">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="table-wrap">
|
|
17
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
18
|
-
<div class="field">
|
|
19
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
20
|
-
<input id="tsd-search-field" type="text" />
|
|
21
|
-
</div>
|
|
22
|
-
<ul class="results">
|
|
23
|
-
<li class="state loading">Preparing search index...</li>
|
|
24
|
-
<li class="state failure">The search index is not available</li>
|
|
25
|
-
</ul>
|
|
26
|
-
<a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="table-cell" id="tsd-widgets">
|
|
29
|
-
<div id="tsd-filter">
|
|
30
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
31
|
-
<div class="tsd-filter-group">
|
|
32
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="tsd-page-title">
|
|
50
|
-
<div class="container">
|
|
51
|
-
<ul class="tsd-breadcrumb">
|
|
52
|
-
<li>
|
|
53
|
-
<a href="../modules.html">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../modules/five.html">five</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="../modules/five.subscribemixintype.html">SubscribeMixinType</a>
|
|
60
|
-
</li>
|
|
61
|
-
<li>
|
|
62
|
-
<a href="five.subscribemixintype.once.html">once</a>
|
|
63
|
-
</li>
|
|
64
|
-
</ul>
|
|
65
|
-
<h1>Interface once<T></h1>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</header>
|
|
69
|
-
<div class="container container-main">
|
|
70
|
-
<div class="row">
|
|
71
|
-
<div class="col-8 col-content">
|
|
72
|
-
<section class="tsd-panel tsd-type-parameters">
|
|
73
|
-
<h3>Type parameters</h3>
|
|
74
|
-
<ul class="tsd-type-parameters">
|
|
75
|
-
<li>
|
|
76
|
-
<h4>T<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#subscribeeventmap" class="tsd-signature-type" data-tsd-kind="Type alias">SubscribeEventMap</a></h4>
|
|
77
|
-
</li>
|
|
78
|
-
</ul>
|
|
79
|
-
</section>
|
|
80
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
81
|
-
<h3>Hierarchy</h3>
|
|
82
|
-
<ul class="tsd-hierarchy">
|
|
83
|
-
<li>
|
|
84
|
-
<span class="target">once</span>
|
|
85
|
-
</li>
|
|
86
|
-
</ul>
|
|
87
|
-
</section>
|
|
88
|
-
<section class="tsd-panel">
|
|
89
|
-
<h3 class="tsd-before-signature">Callable</h3>
|
|
90
|
-
<ul class="tsd-signatures tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
91
|
-
<li class="tsd-signature tsd-kind-icon">once<K><span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">K</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></li>
|
|
92
|
-
</ul>
|
|
93
|
-
<ul class="tsd-descriptions">
|
|
94
|
-
<li class="tsd-description">
|
|
95
|
-
<aside class="tsd-sources">
|
|
96
|
-
<ul>
|
|
97
|
-
<li>Defined in lib/five/core/subscribe.ts:143</li>
|
|
98
|
-
</ul>
|
|
99
|
-
</aside>
|
|
100
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
101
|
-
<ul class="tsd-type-parameters">
|
|
102
|
-
<li>
|
|
103
|
-
<h4>K<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h4>
|
|
104
|
-
</li>
|
|
105
|
-
</ul>
|
|
106
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
107
|
-
<ul class="tsd-parameters">
|
|
108
|
-
<li>
|
|
109
|
-
<h5>name: <span class="tsd-signature-type">K</span></h5>
|
|
110
|
-
</li>
|
|
111
|
-
<li>
|
|
112
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h5>
|
|
113
|
-
<ul class="tsd-parameters">
|
|
114
|
-
<li class="tsd-parameter-signature">
|
|
115
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
116
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></li>
|
|
117
|
-
</ul>
|
|
118
|
-
<ul class="tsd-descriptions">
|
|
119
|
-
<li class="tsd-description">
|
|
120
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
121
|
-
<ul class="tsd-parameters">
|
|
122
|
-
<li>
|
|
123
|
-
<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h5>
|
|
124
|
-
</li>
|
|
125
|
-
</ul>
|
|
126
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReturnType</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span></h4>
|
|
127
|
-
</li>
|
|
128
|
-
</ul>
|
|
129
|
-
</li>
|
|
130
|
-
</ul>
|
|
131
|
-
</li>
|
|
132
|
-
</ul>
|
|
133
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h4>
|
|
134
|
-
<ul class="tsd-parameters">
|
|
135
|
-
<li class="tsd-parameter-signature">
|
|
136
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
137
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
138
|
-
</ul>
|
|
139
|
-
<ul class="tsd-descriptions">
|
|
140
|
-
<li class="tsd-description">
|
|
141
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
142
|
-
</li>
|
|
143
|
-
</ul>
|
|
144
|
-
</li>
|
|
145
|
-
</ul>
|
|
146
|
-
</li>
|
|
147
|
-
</ul>
|
|
148
|
-
</section>
|
|
149
|
-
</div>
|
|
150
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
151
|
-
<nav class="tsd-navigation primary">
|
|
152
|
-
<ul>
|
|
153
|
-
<li class=" ">
|
|
154
|
-
<a href="../modules.html">Modules</a>
|
|
155
|
-
</li>
|
|
156
|
-
</ul>
|
|
157
|
-
</nav>
|
|
158
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
159
|
-
<ul class="before-current">
|
|
160
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
161
|
-
<a href="five.subscribemixintype.emit.html" class="tsd-kind-icon">emit</a>
|
|
162
|
-
</li>
|
|
163
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
164
|
-
<a href="five.subscribemixintype.haslistener.html" class="tsd-kind-icon">has<wbr>Listener</a>
|
|
165
|
-
</li>
|
|
166
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
167
|
-
<a href="five.subscribemixintype.off.html" class="tsd-kind-icon">off</a>
|
|
168
|
-
</li>
|
|
169
|
-
<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
170
|
-
<a href="five.subscribemixintype.on.html" class="tsd-kind-icon">on</a>
|
|
171
|
-
</li>
|
|
172
|
-
</ul>
|
|
173
|
-
<ul class="current">
|
|
174
|
-
<li class="current tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
|
|
175
|
-
<a href="five.subscribemixintype.once.html" class="tsd-kind-icon">once</a>
|
|
176
|
-
</li>
|
|
177
|
-
</ul>
|
|
178
|
-
<ul class="after-current">
|
|
179
|
-
</ul>
|
|
180
|
-
</nav>
|
|
181
|
-
</div>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
<footer>
|
|
185
|
-
<div class="container">
|
|
186
|
-
<h2>Legend</h2>
|
|
187
|
-
<div class="tsd-legend-group">
|
|
188
|
-
<ul class="tsd-legend">
|
|
189
|
-
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
|
190
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
191
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
192
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
193
|
-
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
194
|
-
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
195
|
-
</ul>
|
|
196
|
-
<ul class="tsd-legend">
|
|
197
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
198
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
199
|
-
</ul>
|
|
200
|
-
<ul class="tsd-legend">
|
|
201
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
202
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
203
|
-
</ul>
|
|
204
|
-
</div>
|
|
205
|
-
</div>
|
|
206
|
-
</footer>
|
|
207
|
-
<div class="overlay"></div>
|
|
208
|
-
<script src="../assets/js/main.js"></script>
|
|
209
|
-
</body>
|
|
210
|
-
</html>
|