Spec-Zone.ru › Dart 1

dart:html

Конструктор фабрики DeviceLightEvent

DeviceLightEvent(String type, [ Map eventInitDict ])

Исходный код

@DomName('DeviceLightEvent.DeviceLightEvent')
@DocsEditable()
factory DeviceLightEvent(String type, [Map eventInitDict]) {
  if (eventInitDict != null) {
    var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
    return _blink.BlinkDeviceLightEvent.instance
        .constructorCallback_2_(type, eventInitDict_1);
  }
  return _blink.BlinkDeviceLightEvent.instance.constructorCallback_1_(type);
}

© 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/DeviceLightEvent/DeviceLightEvent.html

Spec-Zone.ru

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