This question is locked. New answers and comments are not allowed.
Hi there,
I am using the AppBuilder (both in-browser, windows and VS - have access to all of these) to create a {N} app.
Trying to add a side-bar (drawer) like the one in your sample TelerikNEXT app, but it seems impossible. First, the SideBar widget in the sample app is only available as .ts and must be compiled to .js (I managed to do this with VS in the "cross-platform modules" solution).
So I added the compiled .js files to the propper "side-bar" folder under "tns_modules" in my {N} app, all via AppBuilder in-browser client. And ofcourse my app crashes on first try with the following error:
Error: Cannot create module ui/side-bar. ReferenceError: Can't find variable: TKSideDrawer. StackTrace: SideBar@/app/tns_modules/ui/side-bar/side-bar.js....
I took a look innside side-bar.ios.ts and found this. This is the only usage of "TKSideDrawer" in the .ts files:
declare
var
TKSideDrawer: any;
...
this
._ios = TKSideDrawer.alloc().initWithHostview(
this
._mainContentHost.ios);
I presume that TKSideDrawer is a part of Telerik's iOS UI package? I do have access to this package, but have no idea how to import it into my app in via AppBuilder. Is this possible? Is there any other way to get a Drawer or Side-bar widget?
Thanks in advance.