转至元数据结尾
转至元数据起始
// DisplayName is a string will display in dashboard UI. If displayNameKey has been set. Dashboard will look for an i18n resource string to display.
interface ILocalizable {
    displayName?: string;
    displayNameKey?: string;
}

// Icon is an image in you asset. You should define the image in the assets field. IconCss is a class name. For custom visual, should use the icon.
interface IIconable {
    icon?: string;
    iconCss?: string;
}

interface IMember extends ILocalizable, IIconable {
    name?: string;
}

interface IEnumItem extends ILocalizable, IIconable {
    value: any;
}
interface IPosition {
    top?: number;
    right?: number;
    bottom?: number;
    left?: number;
}

interface ISize {
    width?: number;
    height?: number;
}





  • 无标签