ohif-viewer/Packages/ohif-measurements/client/helpers/measurements.js

10 lines
334 B
JavaScript

import { Template } from 'meteor/templating';
import { OHIF } from 'meteor/ohif:core';
// Get the current measurement API configuration with information about tools, data exchange
// and data validation.
Template.registerHelper('measurementConfiguration', () => {
return OHIF.measurements.MeasurementApi.getConfiguration();
});