Coder Social home page Coder Social logo

nativescript-sidedrawer's People

Contributors

roblav96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nativescript-sidedrawer's Issues

How to style individual items?

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?

com.mikepenz.materialdrawer.d.ts is not a module

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. :)

error TS2304: Cannot find name 'java'

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'.
...

how to navigate

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');
	    }
	});

};

Feature Request: fontAwesome icons

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.

Need help with this project?

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

  • You'll need to help me modernize this project so that it's possible to git clone and run the demo.
  • I can simply make my own project based on this
  • We can rebase the project from nativescript-plugin-seed and merge the results in here - including restructuring the layout

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.

Error While tns run android

I got these below errors while 'tns run android'.

image

After these errors build succesfully completed but app not opened in my device.

How to rebuild the sidedrawer

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?

Title bar transparency problem

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.

Error: No animation target specified

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?

Android - sidedrawer is changing styling

After building the drawer the styling changes. See how it's colliding with the statusbar. Notice the whitespace at the bottom too - showing everything is offset.

screenshot from 2018-01-01 21-08-45

Actions like bring up a keyboard actually resets the styling (so that it isn't colliding).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.