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

mouseover event on tab (layout) #114

Closed
elvisbegovic opened this issue Sep 27, 2016 · 9 comments
Closed

mouseover event on tab (layout) #114

elvisbegovic opened this issue Sep 27, 2016 · 9 comments
Assignees

Comments

@elvisbegovic
Copy link

Enhancement:
please apologize it's maybe relative and not to be an issue but I don't know : I can't apply a mouseover to get index of tab when mouseover on each tab : Because of component structure even if I put (mouseover) event on each my tag..

Can you add new Event-listener function that will be fired if the tab is hovered....

Actually we have only (mdl-layout-tab-active-changed). How can I add another one like mdl-layout-tab-hover)

@mseemann
Copy link
Owner

an attribute like mdl-layout-tab-hover must be implemented in the component. to make it consistent i would implement:

mdl-layout-tab-mouseover
mdl-layout-tab-mouseout

and emit the index of the tab that fires the event.

would this solve your problem?

@elvisbegovic
Copy link
Author

Yes! thanks a lot. It's for when ?

@mseemann
Copy link
Owner

this week should be possible

@elvisbegovic
Copy link
Author

elvisbegovic commented Sep 28, 2016

awesome I juste download you last changes and replace by this I have in node_module but I won't works, certainly because the DIST/ folder doesn't exit how can I build your project ?

@mseemann
Copy link
Owner

it is not released to npm right now. this will be tomorro or an friday.

you can use the master run npm i and after that ng build. this will generate the dist folder.

@elvisbegovic
Copy link
Author

elvisbegovic commented Sep 28, 2016

@mseemann which version of angular cli you use, error when ng build:
It seems like you're using a project generated usin an old version of the angular cli.
the latest cli now uses webpack and inculdes a lot fo improvements, include a simpler workflow, a faster build and smaller bundles.

@mseemann
Copy link
Owner

I know 😀. But i didn't found the time to change the build system. angular-cli is a good solution for apps but not for libs...

It's version 10. But this should not affect ng build. because ng build uses the angular-cli from the package.json and not the globally installed one.

It's best to wait until tomorrow for a npm release.

@mseemann
Copy link
Owner

released in npm version 1.8.1

@elvisbegovic
Copy link
Author

Awesome and ironically: IT WORKS !

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

No branches or pull requests

2 participants