Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98208281
cssUtils.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jan 11, 01:55
Size
874 B
Mime Type
text/x-java
Expires
Mon, Jan 13, 01:55 (2 d)
Engine
blob
Format
Raw Data
Handle
23531780
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
cssUtils.d.ts
View Options
import { CSSProperties } from './createTypography';
export function isUnitless(value: string): boolean;
export function getUnit(input: string): string;
export function toUnitless(value: string): number;
export function convertLength(baseFontSize: string): (length: string, toUnit: string) => string;
export interface AlignPropertyParams {
size: number;
grid: number;
}
export function alignProperty(params: AlignPropertyParams): number;
export interface FontGridParams {
lineHeight: number;
pixels: number;
htmlFontSize: number;
}
export function fontGrid(params: FontGridParams): number;
export interface ResponsivePropertyParams {
cssProperty: string;
min: number;
max: number;
unit?: string;
breakpoints?: number[];
transform?: (value: number) => number;
}
export function responsiveProperty(params: ResponsivePropertyParams): CSSProperties;
Event Timeline
Log In to Comment