@nativescript-community/ui-carto
Version:
NativeScript plugin for CARTO Mobile SDK
31 lines • 811 B
JavaScript
import { GroupBase } from './group.common';
export class Group extends GroupBase {
getNativePos(pos) {
return null;
}
//@ts-ignore
get position() {
return this.options.position;
}
set position(pos) {
this.options.position = pos;
this.elements.forEach((el) => (el.position = pos));
}
//@ts-ignore
get visible() {
return this.options.visible;
}
set visible(value) {
this.options.visible = value;
this.elements.forEach((el) => (el.visible = value));
}
//@ts-ignore
get metaData() {
return this.options.metaData;
}
set metaData(value) {
this.options.metaData = value;
this.elements.forEach((el) => (el.metaData = value));
}
}
//# sourceMappingURL=group.android.js.map