Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IImmutable

Media can have dimensions, but most important to UI frameworks is knowning the aspect ratio of the resource ahead of time. This can prevent loading pop when the dimensions are finally retrieved asynchronously.

Hierarchy

Index

Properties

Properties

aspect

aspect: number

The aspect ratio of media, width / height