@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,605 +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>Store | 如视 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/react.html">react</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="react.store.html">Store</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Class Store<T></h1>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</header>
|
|
66
|
-
<div class="container container-main">
|
|
67
|
-
<div class="row">
|
|
68
|
-
<div class="col-8 col-content">
|
|
69
|
-
<section class="tsd-panel tsd-comment">
|
|
70
|
-
<div class="tsd-comment tsd-typography">
|
|
71
|
-
<div class="lead">
|
|
72
|
-
<p>监听者模式</p>
|
|
73
|
-
</div>
|
|
74
|
-
<dl class="tsd-comment-tags">
|
|
75
|
-
<dt>example</dt>
|
|
76
|
-
<dd><pre><code><span style="color: #0000FF">new</span><span style="color: #000000"> </span><span style="color: #795E26">Store</span><span style="color: #000000"><{</span>
|
|
77
|
-
<span style="color: #A31515">"foo"</span><span style="color: #000000">: [arg1: </span><span style="color: #267F99">number</span><span style="color: #000000">, arg2: </span><span style="color: #267F99">string</span><span style="color: #000000">],</span>
|
|
78
|
-
<span style="color: #A31515">"bar"</span><span style="color: #000000">: [arg: </span><span style="color: #267F99">boolean</span><span style="color: #000000">],</span>
|
|
79
|
-
<span style="color: #000000">}>()</span>
|
|
80
|
-
</code></pre>
|
|
81
|
-
</dd>
|
|
82
|
-
</dl>
|
|
83
|
-
</div>
|
|
84
|
-
</section>
|
|
85
|
-
<section class="tsd-panel tsd-type-parameters">
|
|
86
|
-
<h3>Type parameters</h3>
|
|
87
|
-
<ul class="tsd-type-parameters">
|
|
88
|
-
<li>
|
|
89
|
-
<h4>T<span class="tsd-signature-symbol">: </span><a href="../modules/react.html#storevaluemaptype" class="tsd-signature-type" data-tsd-kind="Type alias">StoreValueMapType</a></h4>
|
|
90
|
-
<div class="tsd-comment tsd-typography">
|
|
91
|
-
<div class="lead">
|
|
92
|
-
<p>预设的监听回调类型</p>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
</li>
|
|
96
|
-
</ul>
|
|
97
|
-
</section>
|
|
98
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
99
|
-
<h3>Hierarchy</h3>
|
|
100
|
-
<ul class="tsd-hierarchy">
|
|
101
|
-
<li>
|
|
102
|
-
<span class="target">Store</span>
|
|
103
|
-
</li>
|
|
104
|
-
</ul>
|
|
105
|
-
</section>
|
|
106
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
107
|
-
<h2>Index</h2>
|
|
108
|
-
<section class="tsd-panel tsd-index-panel">
|
|
109
|
-
<div class="tsd-index-content">
|
|
110
|
-
<section class="tsd-index-section ">
|
|
111
|
-
<h3>Constructors</h3>
|
|
112
|
-
<ul class="tsd-index-list">
|
|
113
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter"><a href="react.store.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
|
114
|
-
</ul>
|
|
115
|
-
</section>
|
|
116
|
-
<section class="tsd-index-section ">
|
|
117
|
-
<h3>Properties</h3>
|
|
118
|
-
<ul class="tsd-index-list">
|
|
119
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="react.store.html#listeners" class="tsd-kind-icon">listeners</a></li>
|
|
120
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="react.store.html#onvalueschange" class="tsd-kind-icon">on<wbr>Values<wbr>Change</a></li>
|
|
121
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="react.store.html#values" class="tsd-kind-icon">values</a></li>
|
|
122
|
-
</ul>
|
|
123
|
-
</section>
|
|
124
|
-
<section class="tsd-index-section ">
|
|
125
|
-
<h3>Methods</h3>
|
|
126
|
-
<ul class="tsd-index-list">
|
|
127
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="react.store.html#getvalues" class="tsd-kind-icon">get<wbr>Values</a></li>
|
|
128
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="react.store.html#on" class="tsd-kind-icon">on</a></li>
|
|
129
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="react.store.html#setvalues" class="tsd-kind-icon">set<wbr>Values</a></li>
|
|
130
|
-
</ul>
|
|
131
|
-
</section>
|
|
132
|
-
</div>
|
|
133
|
-
</section>
|
|
134
|
-
</section>
|
|
135
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
136
|
-
<h2>Constructors</h2>
|
|
137
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter">
|
|
138
|
-
<a name="constructor" class="tsd-anchor"></a>
|
|
139
|
-
<h3>constructor</h3>
|
|
140
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter">
|
|
141
|
-
<li class="tsd-signature tsd-kind-icon">new <wbr>Store<T><span class="tsd-signature-symbol">(</span>initialValue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, onValuesChange<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="react.store.html" class="tsd-signature-type" data-tsd-kind="Class">Store</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></li>
|
|
142
|
-
</ul>
|
|
143
|
-
<ul class="tsd-descriptions">
|
|
144
|
-
<li class="tsd-description">
|
|
145
|
-
<aside class="tsd-sources">
|
|
146
|
-
<ul>
|
|
147
|
-
<li>Defined in lib/react/createStore.tsx:74</li>
|
|
148
|
-
</ul>
|
|
149
|
-
</aside>
|
|
150
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
151
|
-
<ul class="tsd-type-parameters">
|
|
152
|
-
<li>
|
|
153
|
-
<h4>T<span class="tsd-signature-symbol">: </span><a href="../modules/react.html#storevaluemaptype" class="tsd-signature-type" data-tsd-kind="Type alias">StoreValueMapType</a></h4>
|
|
154
|
-
</li>
|
|
155
|
-
</ul>
|
|
156
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
157
|
-
<ul class="tsd-parameters">
|
|
158
|
-
<li>
|
|
159
|
-
<h5>initialValue: <span class="tsd-signature-type">T</span></h5>
|
|
160
|
-
</li>
|
|
161
|
-
<li>
|
|
162
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> onValuesChange: <span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5>
|
|
163
|
-
<ul class="tsd-parameters">
|
|
164
|
-
<li class="tsd-parameter-signature">
|
|
165
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
166
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
167
|
-
</ul>
|
|
168
|
-
<ul class="tsd-descriptions">
|
|
169
|
-
<li class="tsd-description">
|
|
170
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
171
|
-
<ul class="tsd-parameters">
|
|
172
|
-
<li>
|
|
173
|
-
<h5>values: <span class="tsd-signature-type">T</span></h5>
|
|
174
|
-
</li>
|
|
175
|
-
<li>
|
|
176
|
-
<h5>prevValues: <span class="tsd-signature-type">T</span></h5>
|
|
177
|
-
</li>
|
|
178
|
-
</ul>
|
|
179
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
180
|
-
</li>
|
|
181
|
-
</ul>
|
|
182
|
-
</li>
|
|
183
|
-
</ul>
|
|
184
|
-
</li>
|
|
185
|
-
</ul>
|
|
186
|
-
<h4 class="tsd-returns-title">Returns <a href="react.store.html" class="tsd-signature-type" data-tsd-kind="Class">Store</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
|
187
|
-
</li>
|
|
188
|
-
</ul>
|
|
189
|
-
</section>
|
|
190
|
-
</section>
|
|
191
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
192
|
-
<h2>Properties</h2>
|
|
193
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
194
|
-
<a name="listeners" class="tsd-anchor"></a>
|
|
195
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> listeners</h3>
|
|
196
|
-
<div class="tsd-signature tsd-kind-icon">listeners<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Listener</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">[]</span></div>
|
|
197
|
-
<aside class="tsd-sources">
|
|
198
|
-
<ul>
|
|
199
|
-
<li>Defined in lib/react/createStore.tsx:74</li>
|
|
200
|
-
</ul>
|
|
201
|
-
</aside>
|
|
202
|
-
</section>
|
|
203
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
204
|
-
<a name="onvalueschange" class="tsd-anchor"></a>
|
|
205
|
-
<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Values<wbr>Change</h3>
|
|
206
|
-
<div class="tsd-signature tsd-kind-icon">on<wbr>Values<wbr>Change<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div>
|
|
207
|
-
<aside class="tsd-sources">
|
|
208
|
-
<ul>
|
|
209
|
-
<li>Defined in lib/react/createStore.tsx:72</li>
|
|
210
|
-
</ul>
|
|
211
|
-
</aside>
|
|
212
|
-
<div class="tsd-type-declaration">
|
|
213
|
-
<h4>Type declaration</h4>
|
|
214
|
-
<ul class="tsd-parameters">
|
|
215
|
-
<li class="tsd-parameter-signature">
|
|
216
|
-
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class">
|
|
217
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
218
|
-
</ul>
|
|
219
|
-
<ul class="tsd-descriptions">
|
|
220
|
-
<li class="tsd-description">
|
|
221
|
-
<div class="tsd-comment tsd-typography">
|
|
222
|
-
<div class="lead">
|
|
223
|
-
<p>全局的数据变化钩子</p>
|
|
224
|
-
</div>
|
|
225
|
-
</div>
|
|
226
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
227
|
-
<ul class="tsd-parameters">
|
|
228
|
-
<li>
|
|
229
|
-
<h5>values: <span class="tsd-signature-type">T</span></h5>
|
|
230
|
-
</li>
|
|
231
|
-
<li>
|
|
232
|
-
<h5>prevValues: <span class="tsd-signature-type">T</span></h5>
|
|
233
|
-
</li>
|
|
234
|
-
</ul>
|
|
235
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
236
|
-
</li>
|
|
237
|
-
</ul>
|
|
238
|
-
</li>
|
|
239
|
-
</ul>
|
|
240
|
-
</div>
|
|
241
|
-
</section>
|
|
242
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
243
|
-
<a name="values" class="tsd-anchor"></a>
|
|
244
|
-
<h3>values</h3>
|
|
245
|
-
<div class="tsd-signature tsd-kind-icon">values<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span></div>
|
|
246
|
-
<aside class="tsd-sources">
|
|
247
|
-
<ul>
|
|
248
|
-
<li>Defined in lib/react/createStore.tsx:69</li>
|
|
249
|
-
</ul>
|
|
250
|
-
</aside>
|
|
251
|
-
<div class="tsd-comment tsd-typography">
|
|
252
|
-
<div class="lead">
|
|
253
|
-
<p>值</p>
|
|
254
|
-
</div>
|
|
255
|
-
</div>
|
|
256
|
-
</section>
|
|
257
|
-
</section>
|
|
258
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
259
|
-
<h2>Methods</h2>
|
|
260
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
261
|
-
<a name="getvalues" class="tsd-anchor"></a>
|
|
262
|
-
<h3>get<wbr>Values</h3>
|
|
263
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
264
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Values<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-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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></li>
|
|
265
|
-
</ul>
|
|
266
|
-
<ul class="tsd-descriptions">
|
|
267
|
-
<li class="tsd-description">
|
|
268
|
-
<aside class="tsd-sources">
|
|
269
|
-
<ul>
|
|
270
|
-
<li>Defined in lib/react/createStore.tsx:106</li>
|
|
271
|
-
</ul>
|
|
272
|
-
</aside>
|
|
273
|
-
<div class="tsd-comment tsd-typography">
|
|
274
|
-
<div class="lead">
|
|
275
|
-
<p>获取值</p>
|
|
276
|
-
</div>
|
|
277
|
-
</div>
|
|
278
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
279
|
-
<ul class="tsd-type-parameters">
|
|
280
|
-
<li>
|
|
281
|
-
<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>
|
|
282
|
-
</li>
|
|
283
|
-
</ul>
|
|
284
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
285
|
-
<ul class="tsd-parameters">
|
|
286
|
-
<li>
|
|
287
|
-
<h5>names: <span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
288
|
-
<div class="tsd-comment tsd-typography">
|
|
289
|
-
<p>值的名称</p>
|
|
290
|
-
</div>
|
|
291
|
-
</li>
|
|
292
|
-
</ul>
|
|
293
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Pick</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></h4>
|
|
294
|
-
</li>
|
|
295
|
-
</ul>
|
|
296
|
-
</section>
|
|
297
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
298
|
-
<a name="on" class="tsd-anchor"></a>
|
|
299
|
-
<h3>on</h3>
|
|
300
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
301
|
-
<li class="tsd-signature tsd-kind-icon">on<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>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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-type">void</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>
|
|
302
|
-
</ul>
|
|
303
|
-
<ul class="tsd-descriptions">
|
|
304
|
-
<li class="tsd-description">
|
|
305
|
-
<aside class="tsd-sources">
|
|
306
|
-
<ul>
|
|
307
|
-
<li>Defined in lib/react/createStore.tsx:88</li>
|
|
308
|
-
</ul>
|
|
309
|
-
</aside>
|
|
310
|
-
<div class="tsd-comment tsd-typography">
|
|
311
|
-
<div class="lead">
|
|
312
|
-
<p>监听数据变化</p>
|
|
313
|
-
</div>
|
|
314
|
-
</div>
|
|
315
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
316
|
-
<ul class="tsd-type-parameters">
|
|
317
|
-
<li>
|
|
318
|
-
<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>
|
|
319
|
-
</li>
|
|
320
|
-
</ul>
|
|
321
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
322
|
-
<ul class="tsd-parameters">
|
|
323
|
-
<li>
|
|
324
|
-
<h5>names: <span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
325
|
-
<div class="tsd-comment tsd-typography">
|
|
326
|
-
<p>监听的字段名称</p>
|
|
327
|
-
</div>
|
|
328
|
-
</li>
|
|
329
|
-
<li>
|
|
330
|
-
<h5>callback: <span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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-type">void</span></h5>
|
|
331
|
-
<div class="tsd-comment tsd-typography">
|
|
332
|
-
<p>回调函数</p>
|
|
333
|
-
</div>
|
|
334
|
-
<ul class="tsd-parameters">
|
|
335
|
-
<li class="tsd-parameter-signature">
|
|
336
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
337
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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>, prevValues<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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-type">void</span></li>
|
|
338
|
-
</ul>
|
|
339
|
-
<ul class="tsd-descriptions">
|
|
340
|
-
<li class="tsd-description">
|
|
341
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
342
|
-
<ul class="tsd-parameters">
|
|
343
|
-
<li>
|
|
344
|
-
<h5>values: <span class="tsd-signature-type">Pick</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></h5>
|
|
345
|
-
</li>
|
|
346
|
-
<li>
|
|
347
|
-
<h5>prevValues: <span class="tsd-signature-type">Pick</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></h5>
|
|
348
|
-
</li>
|
|
349
|
-
</ul>
|
|
350
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
351
|
-
</li>
|
|
352
|
-
</ul>
|
|
353
|
-
</li>
|
|
354
|
-
</ul>
|
|
355
|
-
</li>
|
|
356
|
-
</ul>
|
|
357
|
-
<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>
|
|
358
|
-
<p>解除监听数据变化</p>
|
|
359
|
-
<ul class="tsd-parameters">
|
|
360
|
-
<li class="tsd-parameter-signature">
|
|
361
|
-
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
362
|
-
<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>
|
|
363
|
-
</ul>
|
|
364
|
-
<ul class="tsd-descriptions">
|
|
365
|
-
<li class="tsd-description">
|
|
366
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
367
|
-
</li>
|
|
368
|
-
</ul>
|
|
369
|
-
</li>
|
|
370
|
-
</ul>
|
|
371
|
-
</li>
|
|
372
|
-
</ul>
|
|
373
|
-
</section>
|
|
374
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
375
|
-
<a name="setvalues" class="tsd-anchor"></a>
|
|
376
|
-
<h3>set<wbr>Values</h3>
|
|
377
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
378
|
-
<li class="tsd-signature tsd-kind-icon">set<wbr>Values<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>, values<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Pick</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-type">void</span></li>
|
|
379
|
-
</ul>
|
|
380
|
-
<ul class="tsd-descriptions">
|
|
381
|
-
<li class="tsd-description">
|
|
382
|
-
<aside class="tsd-sources">
|
|
383
|
-
<ul>
|
|
384
|
-
<li>Defined in lib/react/createStore.tsx:114</li>
|
|
385
|
-
</ul>
|
|
386
|
-
</aside>
|
|
387
|
-
<div class="tsd-comment tsd-typography">
|
|
388
|
-
<div class="lead">
|
|
389
|
-
<p>设置值</p>
|
|
390
|
-
</div>
|
|
391
|
-
</div>
|
|
392
|
-
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
393
|
-
<ul class="tsd-type-parameters">
|
|
394
|
-
<li>
|
|
395
|
-
<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>
|
|
396
|
-
</li>
|
|
397
|
-
</ul>
|
|
398
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
399
|
-
<ul class="tsd-parameters">
|
|
400
|
-
<li>
|
|
401
|
-
<h5>names: <span class="tsd-signature-type">K</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
402
|
-
</li>
|
|
403
|
-
<li>
|
|
404
|
-
<h5>values: <span class="tsd-signature-type">Pick</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></h5>
|
|
405
|
-
<div class="tsd-comment tsd-typography">
|
|
406
|
-
<p>设置值</p>
|
|
407
|
-
</div>
|
|
408
|
-
</li>
|
|
409
|
-
</ul>
|
|
410
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
411
|
-
</li>
|
|
412
|
-
</ul>
|
|
413
|
-
</section>
|
|
414
|
-
</section>
|
|
415
|
-
</div>
|
|
416
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
417
|
-
<nav class="tsd-navigation primary">
|
|
418
|
-
<ul>
|
|
419
|
-
<li class=" ">
|
|
420
|
-
<a href="../modules.html">Modules</a>
|
|
421
|
-
</li>
|
|
422
|
-
<li class=" tsd-kind-module">
|
|
423
|
-
<a href="../modules/five.html">five</a>
|
|
424
|
-
</li>
|
|
425
|
-
<li class=" tsd-kind-module">
|
|
426
|
-
<a href="../modules/gltf_loader.html">gltf-<wbr>loader</a>
|
|
427
|
-
</li>
|
|
428
|
-
<li class=" tsd-kind-module">
|
|
429
|
-
<a href="../modules/line.html">line</a>
|
|
430
|
-
</li>
|
|
431
|
-
<li class="current tsd-kind-module">
|
|
432
|
-
<a href="../modules/react.html">react</a>
|
|
433
|
-
</li>
|
|
434
|
-
<li class=" tsd-kind-module">
|
|
435
|
-
<a href="../modules/server.html">server</a>
|
|
436
|
-
</li>
|
|
437
|
-
<li class=" tsd-kind-module">
|
|
438
|
-
<a href="../modules/sticker.html">sticker</a>
|
|
439
|
-
</li>
|
|
440
|
-
</ul>
|
|
441
|
-
</nav>
|
|
442
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
443
|
-
<ul class="before-current">
|
|
444
|
-
</ul>
|
|
445
|
-
<ul class="current">
|
|
446
|
-
<li class="current tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter">
|
|
447
|
-
<a href="react.store.html" class="tsd-kind-icon">Store</a>
|
|
448
|
-
<ul>
|
|
449
|
-
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter">
|
|
450
|
-
<a href="react.store.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
451
|
-
</li>
|
|
452
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
453
|
-
<a href="react.store.html#listeners" class="tsd-kind-icon">listeners</a>
|
|
454
|
-
</li>
|
|
455
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
456
|
-
<a href="react.store.html#onvalueschange" class="tsd-kind-icon">on<wbr>Values<wbr>Change</a>
|
|
457
|
-
</li>
|
|
458
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
459
|
-
<a href="react.store.html#values" class="tsd-kind-icon">values</a>
|
|
460
|
-
</li>
|
|
461
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
462
|
-
<a href="react.store.html#getvalues" class="tsd-kind-icon">get<wbr>Values</a>
|
|
463
|
-
</li>
|
|
464
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
465
|
-
<a href="react.store.html#on" class="tsd-kind-icon">on</a>
|
|
466
|
-
</li>
|
|
467
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
|
|
468
|
-
<a href="react.store.html#setvalues" class="tsd-kind-icon">set<wbr>Values</a>
|
|
469
|
-
</li>
|
|
470
|
-
</ul>
|
|
471
|
-
</li>
|
|
472
|
-
</ul>
|
|
473
|
-
<ul class="after-current">
|
|
474
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
475
|
-
<a href="../interfaces/react.fiveactionreactcallbacks.html" class="tsd-kind-icon">Five<wbr>Action<wbr>React<wbr>Callbacks</a>
|
|
476
|
-
</li>
|
|
477
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
478
|
-
<a href="../interfaces/react.fiveinjectiontypes.html" class="tsd-kind-icon">Five<wbr>Injection<wbr>Types</a>
|
|
479
|
-
</li>
|
|
480
|
-
<li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter">
|
|
481
|
-
<a href="../interfaces/react.injectfivetoprops.html" class="tsd-kind-icon">Inject<wbr>Five<wbr>ToProps</a>
|
|
482
|
-
</li>
|
|
483
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
484
|
-
<a href="../modules/react.html#fiveinjectionactionfeature" class="tsd-kind-icon">Five<wbr>Injection<wbr>Action<wbr>Feature</a>
|
|
485
|
-
</li>
|
|
486
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
487
|
-
<a href="../modules/react.html#fiveinjectiondatafeature" class="tsd-kind-icon">Five<wbr>Injection<wbr>Data<wbr>Feature</a>
|
|
488
|
-
</li>
|
|
489
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
490
|
-
<a href="../modules/react.html#fiveinjectionfeature" class="tsd-kind-icon">Five<wbr>Injection<wbr>Feature</a>
|
|
491
|
-
</li>
|
|
492
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
493
|
-
<a href="../modules/react.html#fiveproviderproptypes" class="tsd-kind-icon">Five<wbr>Provider<wbr>Prop<wbr>Types</a>
|
|
494
|
-
</li>
|
|
495
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
496
|
-
<a href="../modules/react.html#fiveprovidertype" class="tsd-kind-icon">Five<wbr>Provider<wbr>Type</a>
|
|
497
|
-
</li>
|
|
498
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter">
|
|
499
|
-
<a href="../modules/react.html#storeactionmaphanlder" class="tsd-kind-icon">Store<wbr>Action<wbr>Map<wbr>Hanlder</a>
|
|
500
|
-
</li>
|
|
501
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
502
|
-
<a href="../modules/react.html#storeactionmaptype" class="tsd-kind-icon">Store<wbr>Action<wbr>Map<wbr>Type</a>
|
|
503
|
-
</li>
|
|
504
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
505
|
-
<a href="../modules/react.html#storeprovidertype" class="tsd-kind-icon">Store<wbr>Provider<wbr>Type</a>
|
|
506
|
-
</li>
|
|
507
|
-
<li class=" tsd-kind-type-alias tsd-parent-kind-module">
|
|
508
|
-
<a href="../modules/react.html#storevaluemaptype" class="tsd-kind-icon">Store<wbr>Value<wbr>Map<wbr>Type</a>
|
|
509
|
-
</li>
|
|
510
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module">
|
|
511
|
-
<a href="../modules/react.html#fivecanvas" class="tsd-kind-icon">Five<wbr>Canvas</a>
|
|
512
|
-
</li>
|
|
513
|
-
<li class=" tsd-kind-variable tsd-parent-kind-module">
|
|
514
|
-
<a href="../modules/react.html#injection_propname" class="tsd-kind-icon">INJECTION_<wbr>PROPNAME</a>
|
|
515
|
-
</li>
|
|
516
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
517
|
-
<a href="../modules/react.html#createfiveprovider" class="tsd-kind-icon">create<wbr>Five<wbr>Provider</a>
|
|
518
|
-
</li>
|
|
519
|
-
<li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
|
|
520
|
-
<a href="../modules/react.html#createstore" class="tsd-kind-icon">create<wbr>Store</a>
|
|
521
|
-
</li>
|
|
522
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
523
|
-
<a href="../modules/react.html#unsafe__usefiveinstance" class="tsd-kind-icon">unsafe__use<wbr>Five<wbr>Instance</a>
|
|
524
|
-
</li>
|
|
525
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
526
|
-
<a href="../modules/react.html#usefiveaction" class="tsd-kind-icon">use<wbr>Five<wbr>Action</a>
|
|
527
|
-
</li>
|
|
528
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
529
|
-
<a href="../modules/react.html#usefivecameradirection" class="tsd-kind-icon">use<wbr>Five<wbr>Camera<wbr>Direction</a>
|
|
530
|
-
</li>
|
|
531
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
532
|
-
<a href="../modules/react.html#usefivecameraraycaster" class="tsd-kind-icon">use<wbr>Five<wbr>Camera<wbr>Raycaster</a>
|
|
533
|
-
</li>
|
|
534
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
535
|
-
<a href="../modules/react.html#usefivecurrentstate" class="tsd-kind-icon">use<wbr>Five<wbr>Current<wbr>State</a>
|
|
536
|
-
</li>
|
|
537
|
-
<li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
|
|
538
|
-
<a href="../modules/react.html#usefiveeventcallback" class="tsd-kind-icon">use<wbr>Five<wbr>Event<wbr>Callback</a>
|
|
539
|
-
</li>
|
|
540
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
541
|
-
<a href="../modules/react.html#usefivefloor" class="tsd-kind-icon">use<wbr>Five<wbr>Floor</a>
|
|
542
|
-
</li>
|
|
543
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
544
|
-
<a href="../modules/react.html#usefivehelper" class="tsd-kind-icon">use<wbr>Five<wbr>Helper</a>
|
|
545
|
-
</li>
|
|
546
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
547
|
-
<a href="../modules/react.html#usefivemodelintersectraycaster" class="tsd-kind-icon">use<wbr>Five<wbr>Model<wbr>Intersect<wbr>Raycaster</a>
|
|
548
|
-
</li>
|
|
549
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
550
|
-
<a href="../modules/react.html#usefivemodelreadystate" class="tsd-kind-icon">use<wbr>Five<wbr>Model<wbr>Ready<wbr>State</a>
|
|
551
|
-
</li>
|
|
552
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
553
|
-
<a href="../modules/react.html#usefiveproject2d" class="tsd-kind-icon">use<wbr>Five<wbr>Project2d</a>
|
|
554
|
-
</li>
|
|
555
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
556
|
-
<a href="../modules/react.html#usefivescene" class="tsd-kind-icon">use<wbr>Five<wbr>Scene</a>
|
|
557
|
-
</li>
|
|
558
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
559
|
-
<a href="../modules/react.html#usefivesceneeffect" class="tsd-kind-icon">use<wbr>Five<wbr>Scene<wbr>Effect</a>
|
|
560
|
-
</li>
|
|
561
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
562
|
-
<a href="../modules/react.html#usefivestate" class="tsd-kind-icon">use<wbr>Five<wbr>State</a>
|
|
563
|
-
</li>
|
|
564
|
-
<li class=" tsd-kind-function tsd-parent-kind-module">
|
|
565
|
-
<a href="../modules/react.html#usefivework" class="tsd-kind-icon">use<wbr>Five<wbr>Work</a>
|
|
566
|
-
</li>
|
|
567
|
-
<li class=" tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter">
|
|
568
|
-
<a href="../modules/react.html#withfive" class="tsd-kind-icon">with<wbr>Five</a>
|
|
569
|
-
</li>
|
|
570
|
-
</ul>
|
|
571
|
-
</nav>
|
|
572
|
-
</div>
|
|
573
|
-
</div>
|
|
574
|
-
</div>
|
|
575
|
-
<footer>
|
|
576
|
-
<div class="container">
|
|
577
|
-
<h2>Legend</h2>
|
|
578
|
-
<div class="tsd-legend-group">
|
|
579
|
-
<ul class="tsd-legend">
|
|
580
|
-
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
|
581
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
582
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
583
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
584
|
-
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
585
|
-
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
586
|
-
</ul>
|
|
587
|
-
<ul class="tsd-legend">
|
|
588
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
589
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
590
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
591
|
-
</ul>
|
|
592
|
-
<ul class="tsd-legend">
|
|
593
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
594
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
595
|
-
</ul>
|
|
596
|
-
<ul class="tsd-legend">
|
|
597
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
|
|
598
|
-
</ul>
|
|
599
|
-
</div>
|
|
600
|
-
</div>
|
|
601
|
-
</footer>
|
|
602
|
-
<div class="overlay"></div>
|
|
603
|
-
<script src="../assets/js/main.js"></script>
|
|
604
|
-
</body>
|
|
605
|
-
</html>
|