Skip to content

Commit 0a1ecb2

Browse files
authored
Merge pull request #193 from adamgreenhall/footer-slot
Overlay slot
2 parents 9ff173b + a369337 commit 0a1ecb2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/vue-pdf/src/components/VuePDF.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,5 +354,10 @@ defineExpose({
354354
<div v-show="loading" ref="loadingLayer" style="position: absolute">
355355
<slot />
356356
</div>
357+
<slot
358+
name="overlay"
359+
:width="internalProps.viewport?.width"
360+
:height="internalProps.viewport?.height"
361+
/>
357362
</div>
358363
</template>

0 commit comments

Comments
 (0)