add jsdoc
This commit is contained in:
parent
795d78b8d0
commit
ff5b470b79
1 changed files with 5 additions and 0 deletions
|
|
@ -68,6 +68,11 @@ class Engine {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the mode of the engine. Valid modes are:
|
||||
* @param {"FDM"|"CAM"|"LASER"|"SLA"} mode - the mode to set
|
||||
* @returns {Engine} this
|
||||
*/
|
||||
setMode(mode) {
|
||||
this.settings.mode = mode;
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue