SimpleLength class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- StyleValue
- LengthValue
- SimpleLength
- Annotations
- @DocsEditable()
- @DomName('SimpleLength')
- @Experimental()
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
- SimpleLength(num value, String type) factory
- SimpleLength.internal_()
Properties
- type → String @DocsEditable(), @DomName('SimpleLength.type'), @Experimental(), read-only
- value → num @DocsEditable(), @DomName('SimpleLength.value'), @Experimental(), read / write
- cssString → String @DocsEditable(), @DomName('StyleValue.cssString'), @Experimental(), read-only, inherited
- hashCode → int read-only, inherited
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- add(
LengthValue other) → LengthValue @DocsEditable(), @DomName('LengthValue.add'), @Experimental(), inherited - divide(
num value) → LengthValue @DocsEditable(), @DomName('LengthValue.divide'), @Experimental(), inherited - multiply(
num value) → LengthValue @DocsEditable(), @DomName('LengthValue.multiply'), @Experimental(), inherited - noSuchMethod(
Invocation invocation) → dynamic inherited -
Invoked when a non-existent method or property is accessed.
- subtract(
LengthValue other) → LengthValue @DocsEditable(), @DomName('LengthValue.subtract'), @Experimental(), inherited - toString(
) → String inherited -
Returns the result of the JavaScript objects
toString
method.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/SimpleLength-class.html