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

feat(fw-popover): added show/hide event emitters and new prop #268

Merged
merged 2 commits into from
Nov 12, 2021

Conversation

kishore-kumar-E3682
Copy link
Contributor

feat(fw-popover): added show/hide event emitters and new prop preventDefault

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My commits have standard messages as mentioned in Contributing Guidelines

How Has This Been Tested?

@@ -45,6 +54,18 @@ export class Popover {
* Whether the popover-content width to be same as that of the popover-trigger.
*/
@Prop() sameWidth = true;
/**
* Whether the popover-content width to be same as that of the popover-trigger.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the documentation text is wrong!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have replaced this prop with the trigger prop, to specify the trigger event on which the popover-content will be shown/hide.

Added trigger prop to specify the trigger type for show/hide the popover-content
@kishore-kumar-E3682 kishore-kumar-E3682 merged commit e369c1c into canary Nov 12, 2021
@kishore-kumar-E3682 kishore-kumar-E3682 deleted the select-search branch November 12, 2021 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants