Skip to content

Commit 4ce7b5f

Browse files
authored
Merge pull request #163 from vidartf/document-picker
Document picker
2 parents c81ca68 + 6f585c3 commit 4ce7b5f

File tree

5 files changed

+167
-108
lines changed

5 files changed

+167
-108
lines changed

docs/source/introduction.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ class, which allows the user to control the camera by zooming, panning, and orbi
3333
around a target. Another example is the :py:class:`~pythreejs.Picker` widget, which allows
3434
for getting the objects and surface coordinates underneath the mouse cursor.
3535

36+
To use controls, pass them to the renderer, e.g.::
37+
38+
Renderer(controls=[OrbitControls(...), ...], ...)
39+
40+
3641

3742
.. _animation:
3843

js/scripts/generate-wrappers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,7 @@ class PythonWrapper {
822822

823823
this.properties = _.mapObject(this.config.properties, function(prop) {
824824
return {
825+
help: prop.options.help,
825826
trait_declaration: prop.getTraitlet(),
826827
defaultJson: prop.getPythonDefaultValue(),
827828
};

0 commit comments

Comments
 (0)