d93c92e4f5
* add NavHeader component * use NavHeader in SplashPage component and application.hbs * let download button take a block * add RadialProgress component * use RadialProgress in ShamirFlow component * style up the RadialProgress component * update ember-basic-dropdown, ember-basic-dropdown-hover * rework operation token generation workflow * directly depend on ember-maybe-in-element
30 lines
822 B
Handlebars
30 lines
822 B
Handlebars
{{#basic-dropdown-hover
|
|
onOpen=onOpen
|
|
onClose=onClose
|
|
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}}
|