From 02c968e6764f8249c0310097ae5bf6261221109a Mon Sep 17 00:00:00 2001 From: Send_Nukez Date: Sat, 23 Oct 2021 10:36:40 +0200 Subject: [PATCH] rename typedef --- dribbblish.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dribbblish.js b/dribbblish.js index b182b87..7c9fb85 100644 --- a/dribbblish.js +++ b/dribbblish.js @@ -2,7 +2,7 @@ // document.getElementById("popover-container").style.height = 0; class ConfigMenu { /** - * @typedef {Object} DribbblishConfigOptions + * @typedef {Object} DribbblishConfigItem * @property {"checkbox" | "select" | "button" | "slider" | "number" | "text" | "time"} type * @property {String|DribbblishConfigArea} [area={name: "Main Settings", order: 0}] * @property {any} [data={}] @@ -16,7 +16,7 @@ class ConfigMenu { * @property {showChildren} [showChildren] * @property {onAppended} [onAppended] * @property {onChange} [onChange] - * @property {DribbblishConfigOptions[]} [children=[]] + * @property {DribbblishConfigItem[]} [children=[]] */ /** @@ -42,7 +42,7 @@ class ConfigMenu { * @returns {void} */ - /** @type {Object.} */ + /** @type {Object.} */ #config; constructor() { @@ -78,7 +78,7 @@ class ConfigMenu { /** * @private - * @param {DribbblishConfigOptions} options + * @param {DribbblishConfigItem} options */ addInputHTML(options) { this.registerArea(options.area); @@ -106,7 +106,7 @@ class ConfigMenu { } /** - * @param {DribbblishConfigOptions} options + * @param {DribbblishConfigItem} options */ register(options) { const defaultOptions = {