Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow change in Angular #145

Closed
BasyaLipman opened this issue Oct 22, 2017 · 5 comments
Closed

Arrow change in Angular #145

BasyaLipman opened this issue Oct 22, 2017 · 5 comments
Labels

Comments

@BasyaLipman
Copy link

How can I change the arrow to a customized icon in Angular?

Thanks!

@PeterStaev
Copy link
Owner

Hey @BasyaLipman , you should use a custom layout with a custom button which when tapped to call the open() method of the drop down.

@BasyaLipman
Copy link
Author

Hi @PeterStaev - thanks for your response. Where can I find documentation on how to create a custom layout for the dropdown?

@PeterStaev
Copy link
Owner

There is no documentation, you just use standard layouts available in nativescript. For example (non-angular)

<GridLayout columns="*, auto">
    <dd:DropDown col="0" />
    <Button col="1" />
</GridLayout

@BasyaLipman
Copy link
Author

@PeterStaev - then I would have two arrows. The dropdown already shows an arrow by default on my Android emulator...

@PeterStaev
Copy link
Owner

You can see #91 on how to hide the default arrow.

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

No branches or pull requests

2 participants