PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Arrow change in Angular #145

Closed BasyaLipman closed 6 years ago

BasyaLipman commented 6 years ago

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

Thanks!

PeterStaev commented 6 years ago

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 commented 6 years ago

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

PeterStaev commented 6 years ago

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 commented 6 years ago

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

PeterStaev commented 6 years ago

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