@pilotlab/lux-attributes
Version:
A luxurious user experience framework, developed by your friends at Pilot.
15 lines (14 loc) • 683 B
TypeScript
import { DataType } from './attributeEnums';
import { NodeCreateOptions } from '@pilotlab/lux-nodes';
import IAttributeCreateOptions from './interfaces/iAttributeCreateOptions';
import IAttributeChangeOptions from './interfaces/iAttributeChangeOptions';
export declare class AttributeCreateOptions extends NodeCreateOptions implements IAttributeCreateOptions {
constructor(value?: any, dataType?: DataType, label?: string, changeOptions?: IAttributeChangeOptions);
value: any;
dataType: DataType;
label: string;
validate: (value: any) => any;
omit: (value: any) => boolean;
changeOptions: IAttributeChangeOptions;
}
export default AttributeCreateOptions;