@onehat/data
Version:
JS data modeling package with adapters for many storage mediums.
21 lines (14 loc) • 381 B
JavaScript
/** @module Property */
import Base64Property from './Base64.js';
import _ from 'lodash';
/**
* Class represents a Property that stores file data.
* @extends Base64Property
*/
export default class FileProperty extends Base64Property {
get urlencoded() {
return encodeURIComponent(this.displayValue);
}
};
FileProperty.className = 'File';
FileProperty.type = 'file';