1
0
Fork 0

fix(core): Add param inline docs for Part.getId()

This commit is contained in:
Joost De Cock 2022-12-23 15:29:44 +01:00
parent 1f51087c25
commit 6da872abe0

View file

@ -81,6 +81,7 @@ Part.prototype.attr = function (name, value, overwrite = false) {
/**
* Gets a free ID to use in the part
*
* @param {string} prefix - An optional prefix to apply to the ID
* @return {string} id - A free ID to use
*/
Part.prototype.getId = function (prefix = '') {