UNPKG

datadancer

Version:

## What is DataDancer?

34 lines (33 loc) 875 B
import { Base } from '../common/Base'; export declare class VisualMethods extends Base { /** * fields */ /** * properties */ /** * constructor */ constructor(); /** * methods */ /** * 입력된 클래스 또는 아이디의 DOM 정보를 가져온다. * DOM과 해당 Dom과 관련된 정보(className, onClick, style 등등)들을 반환 * * (type: "id" or "class", name: className or idName) */ /** * you can get color randomly. * * (type: "rgb" | "code") */ colorGenerator(type?: 'rgb' | 'code'): string; /** * you can get gradient randomly * (direction?: "to right" | "to left" | "to top" | "to bottom") */ gradientGenerator(direction?: 'to right' | 'to left' | 'to top' | 'to bottom'): string; }