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

Added Added horizontal menu and menu item #3

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

Conversation

lordozb
Copy link
Collaborator

@lordozb lordozb commented Oct 14, 2019

No description provided.

Copy link
Collaborator

@sunasra sunasra left a comment

Choose a reason for hiding this comment

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

Can you please use these changes with QuEST repo and test before we merge?

@@ -0,0 +1,11 @@
import Component from '@ember/component';

Copy link
Collaborator

Choose a reason for hiding this comment

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

generate this file using ember g component
This component will not work as it doesnt have boilerplate code required for addon. like importing layout


export default Component.extend({
actions: {
doAction(){
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's standardise this action name like onClick, onHover or similar

actions: {
doAction(){
if (this.get('applyAction')) {
this.get('applyAction')(this.action, this.pipelineId);
Copy link
Collaborator

Choose a reason for hiding this comment

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

this.pipelineId ? 😄

@@ -0,0 +1,5 @@
<ul class ="q-card-dropdown-menu dropdown-menu pointed-dropdown">
{{yield (hash
menu=(component "q-horizontal-menu-item" title=title))
Copy link
Collaborator

Choose a reason for hiding this comment

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

if title is null?

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.

3 participants