Skip to content

Commit e3f4e0b

Browse files
committed
Adds arrow control to the popover
1 parent 5c49219 commit e3f4e0b

File tree

1 file changed

+4
-1
lines changed
  • src/webviews/apps/shared/components/overlays

1 file changed

+4
-1
lines changed

src/webviews/apps/shared/components/overlays/popover.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ export class GlPopover extends GlElement {
177177
@property({ reflect: true, type: Boolean })
178178
open: boolean = false;
179179

180+
@property({ reflect: true, type: Boolean })
181+
arrow: boolean = true;
182+
180183
/** The distance in pixels from which to offset the popover along its target. */
181184
@property({ type: Number })
182185
skidding = 0;
@@ -389,7 +392,7 @@ export class GlPopover extends GlElement {
389392
flip-padding="3"
390393
flip
391394
shift
392-
arrow
395+
?arrow=${this.arrow}
393396
hover-bridge
394397
>
395398
<div slot="anchor" aria-describedby="popover">

0 commit comments

Comments
 (0)