gethuman / nativescript-sidedrawer Goto Github PK
View Code? Open in Web Editor NEWSideDrawer menu plugin for Nativescript - iOS/Android
License: Other
SideDrawer menu plugin for Nativescript - iOS/Android
License: Other
I'm just getting started with this module, but I'm having a hard time figuring out how to style individual items. I'd like to apply a class to items when I build the drawer and then have nativescript handle the styling with css.
Is there a way to apply classes to individual items?
Hi,
I have tried your plugin. Once the Sidedrawer was build in particular component for the first time means after its avail in all the pages/screens throughout the application.
How to restrict it from showing in all the screens.
Regarding this i have raised the topic on here
Thanks in advance.
Hi,
When trying to use your plugin in a NativeScript Angular 2 project, I receive an error upon building the application.
Not sure what it means or how to fix it.
com.mikepenz.materialdrawer.d.ts is not a module
Hopefully someone has a solution to my problem. :)
Related to #2, same error on IOS.
...
node_modules/nativescript-sidedrawer/com.mikepenz.materialdrawer.d.ts(5,39): error TS2304: Cannot find name 'java'.node_modules/nativescript-sidedrawer/com.mikepenz.materialdrawer.d.ts(10,39): error TS2503: Cannot find namespace 'android'.
node_modules/nativescript-sidedrawer/com.mikepenz.materialdrawer.d.ts(26,23): error TS2503: Cannot find namespace 'android'.
node_modules/nativescript-sidedrawer/com.mikepenz.materialdrawer.d.ts(27,38): error TS2503: Cannot find namespace 'android'.
...
hello i cant navigate page when i add sidedrawer.
exports.onLoaded = function(args){
page = args.object;
page.bindingContext = viewModel;
TnsSideDrawer.build({
templates: [
{
title: 'Home',
},
],
title: 'This App Name',
listener: function(index){
frameModule.topmost().navigate('test');
}
});
};
Would it be possible to add a feature where the icons can be specified as fontAwesome characters instead of an image.
There are quite a few advantages to using fonts instead of images. Smaller size. Also, can set different colors based on color theme w/o needing to generate different images for different themes.
Hello, there isn't much activity on this project these days. I'd like to fix some bugs I face with it, the biggest issue is that hitting the back button to exit the application in android and re-entering causes the side drawer to no longer be built - but nativescript-sidedrawer will still refuse to build it a second time even though the initial build no longer exists.
I wasn't able to run this repo at all to get the demo - I suspect because of out of date packages. I was able to use the nativescript-plugin-seed project to copy sidedrawer into and get it running that way. However that completely restructures the repo making it impossible for me to really make a pull request.
I think I'll need to proceed in one of the following ways
This project is useful to me because it's GPL compatible unlike Nativescript UI's sidedrawer. Unfortunately one thing I can't do is test anything on iOS - but it should work as the seed project supports it.
Hi,
When i add this plugin and try to build my project, i get these errors. I am using Angular2 with TS.
Is it supporting rtl directions? Thanks
Is it possible to hi-light a menu entry on tapping it?
Give some visual feedback.
I unable to see full page drawer in IOS, can you please suggest something
Are nested menus possible?
Thanks.
I built the sidedrawer and in some cases I've got to rebuild it.
Sometimes I need to edit the menu entries or change the colors.
How can I do this?
Can you please add angular 2 example?
Hello,
Very good work.
Just one small problem on my side. When I use your side drawer my title bar stops being transparent on android.
Also something else: Is it possible for the drawer to appear bellow an ActionBar?
Once again congrats for the work.
Hi, I followed exactly the same as the documentation mentioned and when I try to toggle the TnsSideDrawer, I am getting this error:
CONSOLE ERROR [native code]: ERROR Error: No animation target specified.
CONSOLE ERROR [native code]: ERROR CONTEXT [object Object]
Can anyone tell me what is this error?
Can you please add Javascript-only example?
Implement Item Long press listener
Hey,
I was wondering when will you guys be migrating officially this plugin to {N}3. I tried to migrate it myself without results using the guide under
https://github.com/NativeScript/NativeScript/wiki/Migrating-Plugins-to-NativeScript-3.0
Any suggestions on to how I can migrate it? If I'm successful, I will become a collaborator and upload my migration.
Thanks for any help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.