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

In MaterializeAction replace [any] by any[] #411

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Dakayl
Copy link

@Dakayl Dakayl commented Feb 14, 2018

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.

[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[]
@theresaperez
Copy link

How do I use this PR? Using npm install doesn't seem to work since I don't have proper rights. Thanks.

@rubyboy
Copy link
Contributor

rubyboy commented May 11, 2018

I'm more than happy to open this project for other contributors to maintain - please DM me if you're interested

@Dakayl
Copy link
Author

Dakayl commented May 12, 2018 via email

@theresaperez
Copy link

@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).

@ParikshitChavan
Copy link

ParikshitChavan commented Jul 23, 2018

Does this mean that we can now emit all the other functions different elements like

  1. addChip, deleteChip for chips
  2. setDate etc for datePickers
    if yes, is there documentation available anywhere?

Edit: Sorry, These functions are only available in Materialize 1.0.0

@EnumC EnumC added enhancement in-progress This issue is currently being worked on labels Aug 24, 2018
@EnumC EnumC self-requested a review August 24, 2018 06:53
@EnumC EnumC self-assigned this Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement in-progress This issue is currently being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants