add created param to controls
This commit is contained in:
parent
3ac592b18a
commit
e167300194
1 changed files with 1 additions and 0 deletions
|
|
@ -765,6 +765,7 @@ generic_params.forEach(([type, name, description]) => {
|
|||
|
||||
// create custom param
|
||||
controls.createParam = (name) => {
|
||||
controls[name] = (...pats) => _name(name, ...pats);
|
||||
Pattern.prototype[name] = _setter(controls[name], name);
|
||||
return (...pats) => _name(name, ...pats);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue