export declare enum RepeatEnum { repeat = "repeat", noRepeat = "no-repeat", repeatX = "repeat-x", repeatY = "repeat-y" } export declare enum PositionEnum { left = "left", center = "center", right = "right", top = "top", bottom = "bottom" } export declare enum AttachmentEnum { scroll = "scroll", fixed = "fixed" } export interface BackgroundAttribute { /** * value {Object} * value.backgroundColor {String} {color} * value.backgroundImage {String} url(xxx)|linear-gradient(xxx)|url(xxx),linear-gradient(xxx) * value.backgroundRepeat {String} repeat|no-repeat|repeat-x|repeat-y * value.backgroundPositionX {String} left|center|right * value.backgroundPositionY {String} top|center|bottom * value.backgroundSize {String} auto|100%|100% 100%|cover * value.backgroundAttachment {String} scroll|fixed * value.opacity {Number} 0~1 */ backgroundColor: string; backgroundImage: string; backgroundRepeat: RepeatEnum; backgroundPositionX: PositionEnum; backgroundPositionY: PositionEnum; backgroundSize: string; backgroundAttachment: AttachmentEnum; opacity: number; }