File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1414
1515import { GUI , controllers } from '../../dat.gui' ;
1616
17+ /**
18+ * @class Example of subtype of CustomController class.
19+ *
20+ * @extends dat.controllers.CustomController
21+ *
22+ * @param {Object } object The object to be manipulated
23+ * @param {string } property The name of the property to be manipulated
24+ * @param {Object } [params] Optional parameters
25+ */
26+ export class KnobController extends controllers . CustomController {
27+ constructor ( object , property , ...opts ) {
28+ super ( object , property , opts ) ;
29+ // ... set up options if needed
30+ }
31+ }
32+ /*
1733export class KnobController extends controllers.CustomController {
1834 constructor( a, b ) {
1935 super(function (controller) {
@@ -37,7 +53,7 @@ export class KnobController extends controllers.CustomController {
3753
3854 }
3955}
40-
56+ */
4157export class PlayController extends controllers . CustomController {
4258 constructor ( init ) {
4359 super ( init ) ;
You can’t perform that action at this time.
0 commit comments