Use Element type instead of Node for an html element
This commit is contained in:
@@ -74,7 +74,7 @@ const OverviewMap = function(opt_options) {
|
||||
if (typeof collapseLabel === 'string') {
|
||||
/**
|
||||
* @private
|
||||
* @type {Node}
|
||||
* @type {Element}
|
||||
*/
|
||||
this.collapseLabel_ = document.createElement('span');
|
||||
this.collapseLabel_.textContent = collapseLabel;
|
||||
@@ -88,7 +88,7 @@ const OverviewMap = function(opt_options) {
|
||||
if (typeof label === 'string') {
|
||||
/**
|
||||
* @private
|
||||
* @type {Node}
|
||||
* @type {Element}
|
||||
*/
|
||||
this.label_ = document.createElement('span');
|
||||
this.label_.textContent = label;
|
||||
|
||||
Reference in New Issue
Block a user