BreakpointConstants.ets
876 Bytes
/**
* Constants for breakpoint.
*/
export class BreakpointConstants {
/**
* Breakpoints that represent smaller device types.
* 最小宽度
*/
static readonly BREAKPOINT_XS: string = 'xs';
/**
* Breakpoints that represent small device types.
* 小宽度
*/
static readonly BREAKPOINT_SM: string = 'sm';
/**
* Breakpoints that represent middle device types.
* 中等宽度
*/
static readonly BREAKPOINT_MD: string = 'md';
/**
* Breakpoints that represent large device types.
* 大宽度
*/
static readonly BREAKPOINT_LG: string = 'lg';
/**
* Breakpoints that represent extra-large device types.
* 特大宽度
*/
// static readonly BREAKPOINT_XL: string = 'xl';
/**
* Breakpoints that represent extra-extra-large device types.
* 超大宽度
*/
// static readonly BREAKPOINT_XXL: string = 'xxl';
}