-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#132 finished grid state interactions
- Loading branch information
1 parent
e4e90dd
commit 1d0a409
Showing
3 changed files
with
73 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<template> | ||
<div> | ||
<font-awesome-icon | ||
title="Details van de actor bekijken" | ||
class="icon vl-u-spacer-right--xxsmall" | ||
:icon="['fas', 'eye']" | ||
@click="props.params.setStateDetail()" | ||
/> | ||
<a :href="`${props.params.actorenUrl}/beheer#/${params.data?.id}`" target="_blank" title="Bewerk actor"> | ||
<font-awesome-icon class="icon" :icon="['fas', 'pencil']" /> | ||
</a> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; | ||
import type { ICellRendererParams } from 'ag-grid-community'; | ||
import type { IActor } from '@models/actor'; | ||
interface IOeActorWidgetGridActiesProps<T> extends ICellRendererParams<T> { | ||
setStateDetail: () => void; | ||
actorenUrl: string; | ||
} | ||
const props = defineProps<{ params: IOeActorWidgetGridActiesProps<IActor> }>(); | ||
</script> | ||
|
||
<style lang="scss" scoped></style> |