From 6bc8d0cd96bacfc13e7f712b38aeda60ea36e442 Mon Sep 17 00:00:00 2001 From: Matthijs Bon Date: Mon, 11 Oct 2021 10:11:44 +0200 Subject: [PATCH] Fix typeDef for label Allow string, Text and HTMLElement, instead of only string and HTMLElement --- src/ol/control/FullScreen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/control/FullScreen.js b/src/ol/control/FullScreen.js index 0875736a20..df8c22f72d 100644 --- a/src/ol/control/FullScreen.js +++ b/src/ol/control/FullScreen.js @@ -44,7 +44,7 @@ const FullScreenEventType = { /** * @typedef {Object} Options * @property {string} [className='ol-full-screen'] CSS class name. - * @property {string|HTMLElement} [label='\u2922'] Text label to use for the button. + * @property {string|Text|HTMLElement} [label='\u2922'] Text label to use for the button. * Instead of text, also an element (e.g. a `span` element) can be used. * @property {string|Text} [labelActive='\u00d7'] Text label to use for the * button when full-screen is active.