Aspose.CSS  for TypeScript

Aspose.CSS for TypeScript

Aspose.CSS’s CSS layout engine for TypeScript: loads real HTML, exposes a standards-conformant DOM, and performs CSS parsing, cascade and layout with a rendering API that converts to raster images and PDF.

  
 

Aspose.CSS for TypeScript is in development as part of the same CSS layout engine built for standards-based rendering, layout and conversion across .NET, Java, C++ and Python. Loading real HTML and exposing a standards-conformant DOM, it carries out CSS parsing, cascade and layout with a rendering API that converts the result to raster images and PDF.

Advanced TypeScript CSS API Features

Encoding detection & tokenizing

Tree construction

Standards-conformant DOM

Serialization

URL handling

CSSOM

286-property CSS cascade

CSS parsing

Layout engine

Rendering API

Raster image conversion

PDF conversion

CSSOM for TypeScript

Aspose.CSS for TypeScript builds its own CSSOM, the parsed representation of CSS rules that the cascade resolves against, as part of a native TypeScript engine, not a layer over any other platform's build.

Serialization for TypeScript

The TypeScript build also covers serialization, part of the same WHATWG front end every Aspose.CSS platform implements natively, independent of one another.

  

Aspose.CSS is also in development for the following platforms: