-
Notifications
You must be signed in to change notification settings - Fork 43
/
attach-popover.hbs
29 lines (28 loc) · 1.21 KB
/
attach-popover.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{{~#unless this.renderFloatingElement}}
<meta hidden {{did-insert this.onParentFinderInsert}} {{did-update this.onIsShownChange this.isShown}}/>
{{~/unless~}}
{{~#if this.renderFloatingElement~}}
<MaybeInElement @destinationElement={{this._floatingElementContainer}} @renderInPlace={{@renderInPlace}}>
<div
class="ember-attacher"
id={{this.id}}
role={{this.ariaRole}}
{{did-insert this.didInsertFloatingElement}}
{{did-update this.onIsShownChange this.isShown}}
{{did-update this.onTargetOrTriggerChange this.hideOn this.showOn @explicitTarget}}
{{did-update this.onOptionsChange this.autoUpdate this.animation this.arrow this.useCapture this.placement this._renderInPlace this._currentTarget this._middleware}}
{{will-destroy this.willDestroyFloatingElement}}
...attributes
>
<div class={{this._class}} style={{this._style}}>
{{yield (hash hide=(action 'hide'))}}
{{#if this.arrow}}
<div x-arrow {{did-insert this.didInsertArrow}}></div>
{{/if}}
{{#if this.isFillAnimation}}
<div x-circle style="{{this._circleTransitionDuration}}"></div>
{{/if}}
</div>
</div>
</MaybeInElement>
{{~/if~}}