UNPKG

ohayolibs

Version:

Ohayo is a set of essential modules for ohayojp.

29 lines (26 loc) 736 B
import { TemplateRef } from '@angular/core'; import { STColumn, STSortMap } from './st.interfaces'; // tslint:disable-next-line: class-name export interface _STColumn extends STColumn { children?: _STColumn[]; indexKey?: string; /** * 是否有子列 */ hasSubColumns?: boolean; /** * 是否需要截短行为 * - `type: 'img'` 强制非必要 */ _isTruncate?: boolean; /** * 校验需要未自定义 `className` 时应检查 `_isTruncate` 是否需要截短行为 */ _className?: string | string[] | Set<string> | { [klass: string]: any } | null; _sort?: STSortMap; _left?: string; _right?: string; __point?: number; __renderTitle?: TemplateRef<void>; __render?: TemplateRef<void>; }