Spec-Zone.ru › Dart 2

dart:html

Свойство lineDashOffset

число lineDashOffset
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), @SupportedBrowser(SupportedBrowser.IE, '11'), @Unstable()

Реализация

@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@SupportedBrowser(SupportedBrowser.IE, '11')
@Unstable()
// TODO(14316): Firefox has this functionality with mozDashOffset, but it
// needs to be polyfilled.
num get lineDashOffset =>
    JS('num', '#.lineDashOffset || #.webkitLineDashOffset', this, this);
void lineDashOffset=(число значение)
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), @SupportedBrowser(SupportedBrowser.IE, '11'), @Unstable()

Реализация

@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
@SupportedBrowser(SupportedBrowser.IE, '11')
@Unstable()
// TODO(14316): Firefox has this functionality with mozDashOffset, but it
// needs to be polyfilled.
set lineDashOffset(num value) {
  JS(
      'void',
      'typeof #.lineDashOffset != "undefined" ? #.lineDashOffset = # : '
          '#.webkitLineDashOffset = #',
      this,
      this,
      value,
      this,
      value);
}

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/CanvasRenderingContext2D/lineDashOffset.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API