vega-lite-api
Version:
A JavaScript API for Vega-Lite.
19 lines (14 loc) • 302 B
JavaScript
import {BaseObject, assign, init} from './__util__';
class Sphere extends BaseObject {
constructor(...args) {
super();
init(this);
assign(this, ...args);
}
toObject() {
return {sphere: super.toObject()};
}
}
export function sphere(...args) {
return new Sphere(...args);
}