Spec-Zone.ru › Dart 1

dart:js

функция

  1. @Deprecated("Только для внутреннего использования")
void argsSafeForTypedInterop(Iterable args)

Проверка, что если какие-либо элементы args являются Function, то передача в JavaScript безопасна. Для обеспечения безопасности функции, вызовите allowInterop или allowInteropCaptureThis.

Исходный код

@Deprecated("Internal Use Only")
void argsSafeForTypedInterop(Iterable args) {
  for (var arg in args) {
    safeForTypedInterop(arg);
  }
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-js/argsSafeForTypedInterop.html

Spec-Zone.ru

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