2018-04-03 14:16:57 +00:00
|
|
|
{{#basic-dropdown-hover
|
2018-06-26 21:35:47 +00:00
|
|
|
onOpen=onOpen
|
|
|
|
onClose=onClose
|
2018-04-03 14:16:57 +00:00
|
|
|
renderInPlace=renderInPlace
|
|
|
|
verticalPosition=verticalPosition
|
|
|
|
horizontalPosition=horizontalPosition
|
|
|
|
matchTriggerWidth=matchTriggerWidth
|
|
|
|
triggerComponent=triggerComponent
|
|
|
|
contentComponent=contentComponent
|
|
|
|
calculatePosition=calculatePosition
|
|
|
|
calculateInPlacePosition=calculateInPlacePosition as |dd|}}
|
|
|
|
{{yield (assign
|
|
|
|
dd
|
|
|
|
(hash
|
|
|
|
trigger=(component dd.trigger
|
|
|
|
onMouseDown=(action "prevent")
|
|
|
|
onMouseEnter=(action "open")
|
|
|
|
onMouseLeave=(action "close")
|
|
|
|
onBlur=(action "close")
|
|
|
|
)
|
|
|
|
content=(component dd.content
|
|
|
|
onMouseEnter=(action "open")
|
|
|
|
onMouseLeave=(action "close")
|
|
|
|
onFocus=(action "open")
|
|
|
|
onBlur=(action "close")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)}}
|
|
|
|
{{/basic-dropdown-hover}}
|