aspectRatio property

String aspectRatio

Gets the value of "aspect-ratio"

Implementation

String get aspectRatio => getPropertyValue('aspect-ratio');
void aspectRatio= (String value)

Sets the value of "aspect-ratio"

Implementation

set aspectRatio(String value) {
  setProperty('aspect-ratio', value, '');
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/CssStyleDeclarationBase/aspectRatio.html