Make attribution getters public.

This commit is contained in:
Simon Seyock
2021-08-05 11:02:51 +02:00
parent 7a2b0cd2d9
commit 6ce7b58020

View File

@@ -95,6 +95,7 @@ class Source extends BaseObject {
/** /**
* Get the attribution function for the source. * Get the attribution function for the source.
* @return {?Attribution} Attribution function. * @return {?Attribution} Attribution function.
* @api
*/ */
getAttributions() { getAttributions() {
return this.attributions_; return this.attributions_;
@@ -102,6 +103,7 @@ class Source extends BaseObject {
/** /**
* @return {boolean} Attributions are collapsible. * @return {boolean} Attributions are collapsible.
* @api
*/ */
getAttributionsCollapsible() { getAttributionsCollapsible() {
return this.attributionsCollapsible_; return this.attributionsCollapsible_;