From ecc7a3b96e81c39c571efd112228e9ddbe48da27 Mon Sep 17 00:00:00 2001 From: Anders Bjerner Date: Sun, 17 Mar 2019 16:02:05 +0100 Subject: [PATCH] Added parameters to the docs for specifying an already selected icon --- src/Umbraco.Web.UI.Client/src/common/services/editor.service.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js b/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js index e6f381f929..4357caf5be 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/editor.service.js @@ -466,6 +466,8 @@ When building a custom infinite editor view you can use the same components as a * @description * Opens an icon picker in infinite editing, the submit callback returns the selected icon * @param {Object} editor rendering options + * @param {String} editor.icon The CSS class representing the icon - eg. "icon-autofill". + * @param {String} editor.color The CSS class representing the color - eg. "color-red". * @param {Callback} editor.submit Submits the editor * @param {Callback} editor.close Closes the editor * @returns {Object} editor object