UNPKG

@ou-imdt/utils

Version:

Utility library for interactive media development

10 lines (9 loc) 358 B
import saveData from './saveData'; /** * Loads data from the VLE server for the global widget context. * @param {array} fields - Array of names - data to load. * @returns {Promise<any>} A promise that resolves with the loaded data, or rejects on error. */ export default function saveVLEGlobalData(values) { return saveData({ user: false, values }); }