UNPKG

@winged/core

Version:

Morden webapp framekwork made only for ts developers. (UNDER DEVELOPMENT, PLEASE DO NOT USE)

11 lines (10 loc) 459 B
import { BasicType, StateDependencies, ViewState } from '../types'; import { ViewModelList } from '../viewModel/ViewModelList'; /** 数据取值路径,如['user','name'] 对应 user.name */ export declare class DataPath { pathArr: string[]; constructor(dataPathArr: string[]); getDataFromState(state: ViewState): BasicType | ViewState | ViewModelList | ViewState[] | null; toString(): string; toStateDependencies(): StateDependencies; }