-
Notifications
You must be signed in to change notification settings - Fork 139
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
In MaterializeAction replace [any] by any[] #411
base: master
Are you sure you want to change the base?
Conversation
[any] only has 1 element in its array. any[] can has multiple elements. It allows things like this.tabsActions.emit({action: "tabs", params: ['select_tab', page]}); that several persons were looking for, and it's compatible with previous version.
[any] to any[]
How do I use this PR? Using npm install doesn't seem to work since I don't have proper rights. Thanks. |
I'm more than happy to open this project for other contributors to maintain - please DM me if you're interested |
Hi,
If i'm not alone in this, i would be happy to contribute.
2018-05-11 7:35 GMT+02:00 rubyboy <[email protected]>:
… I'm more than happy to open this project for other contributors to
maintain - please DM me if you're interested
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#411 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABN9mzOb72rcXGRh2LdGVwu2aCPEE0ugks5txSMNgaJpZM4SFTbS>
.
|
@rubyboy Thanks...I'm not looking to contribute. It looks like @Dakayl has already created a PR for what I need. I'm new to using other developers' github repos and want to know how to install or build this particular PR for angular2-materialize node package with this change (changing [any] to any[] for MaterialActions). |
Does this mean that we can now emit all the other functions different elements like
Edit: Sorry, These functions are only available in Materialize 1.0.0 |
Changing parameters type in MaterializeAction
From [any] to any[].
[any] only has 1 element in its array.
any[] can has multiple elements.
These are not equivalent.
Changing to any[] allows things like
this.tabsActions.emit({action: "tabs", params: ['select_tab', page]}); that several persons were looking for, and it's compatible with previous versions.