@kitware/vtk.js
Version:
Visualization Toolkit for the Web
22 lines (15 loc) • 547 B
JavaScript
import { m as macro } from '../../../macros2.js';
const DEFAULT_VALUES = {
name: ''
};
// ----------------------------------------------------------------------------
function extend(publicAPI, model) {
let initialValues = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
Object.assign(model, DEFAULT_VALUES, initialValues);
macro.setGet(publicAPI, model, ['name']);
}
// ----------------------------------------------------------------------------
var name = {
extend
};
export { name as default, extend };