Skip to content

How to control checkbox and text in dat.gui? #58

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

1. Any click to the checkbox and text, next to the checkbox would result in 
just one action. For example, When I click the checkbox, it must show/Hide a 
cube in my application and when I click the text, next to the checkbox, it must 
zoom to the cube. However, when you click the text or the checkbox, one action 
is happened. I cannot add two different actions to the text and checkbox.

What is the expected output? What do you see instead?

I need to add an action to the checkbox and another different action to the 
text next to the checkbox.

What version of the product are you using? On what operating system?

I am using the following version:
https://raw.githubusercontent.com/dataarts/dat.gui/master/build/dat.gui.js

On windows 7, Chrome and Firefox.

Please provide any additional information below.

Please see the following link:
http://stackoverflow.com/questions/27852094/how-to-control-chekbox-in-dat-gui

Original issue reported on code.google.com by [email protected] on 12 Jan 2015 at 6:15

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions