-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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'; | |||
|
There was a problem hiding this comment.
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(){ |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if title is null?
No description provided.