akveo / ngx-admin

Customizable admin dashboard template based on Angular 10+
https://akveo.github.io/ngx-admin/
MIT License
25.14k stars 7.94k forks source link

How to link mailto to the nb-action in the header? #1859

Closed Octavious closed 5 years ago

Octavious commented 5 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior: hello,

i am new to angular, and i am wondering in the header , there is an icon for email, which is from code point of view linked to an nb-action tag, how can i add my mailto to this nb action tag.

i tried <nb-action class="control-item" icon="nb-email"><a href='mailto:xyz'></nb-action> and it didnt work.

your help is appreciated.

Regards

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->
yggg commented 5 years ago

Unfortunately, there is no way to specify an icon with a link. Moved to nebular akveo/nebular#814