Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

How to register element properly? #41

Closed
jiro412j opened this issue Feb 22, 2018 · 1 comment
Closed

How to register element properly? #41

jiro412j opened this issue Feb 22, 2018 · 1 comment

Comments

@jiro412j
Copy link

jiro412j commented Feb 22, 2018

I try to import

import { registerElement } from "nativescript-angular/element-registry"; registerElement("PullToRefresh", () => require("nativescript-pulltorefresh").PullToRefresh);

inside component.ts. I got this error everytime.
ERROR Error: Content must inherit from either UIScrollView, UIWebView or WKWebView!

1__tns_run_ios_--emulator__simctl_

@bradmartin
Copy link
Collaborator

Can you post your markup, that is where your issue is with that error. Thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants