bindNativeMethods method

void bindNativeMethods(
  1. Pointer<NativeElement> nativeElement
)
inherited

Implementation

void bindNativeMethods(Pointer<NativeElement> nativeElement) {
  if (nativeElement == nullptr) return;
  nativeElement.ref.getViewModuleProperty = nativeGetViewModuleProperty;
  nativeElement.ref.setViewModuleProperty = nativeSetViewModuleProperty;
  nativeElement.ref.getBoundingClientRect = nativeGetBoundingClientRect;
  nativeElement.ref.getStringValueProperty = nativeGetStringValueProperty;
  nativeElement.ref.click = nativeClick;
  nativeElement.ref.scroll = nativeScroll;
  nativeElement.ref.scrollBy = nativeScrollBy;
}