UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

19 lines (18 loc) 512 B
import { StringUtils } from '@devexpress/utils/lib/utils/string'; export class OpenXmlRelation { id; target; type; targetMode; constructor(id, target, type, targetMode) { this.id = id; this.target = target; this.type = type; this.targetMode = targetMode; } isEmpty() { return StringUtils.isNullOrEmpty(this.id) || StringUtils.isNullOrEmpty(this.type) || StringUtils.isNullOrEmpty(this.target); } }