mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #4231 - For PickList
This commit is contained in:
parent
004e9856ec
commit
49ffd85e77
2 changed files with 6 additions and 2 deletions
4
components/lib/picklist/PickList.d.ts
vendored
4
components/lib/picklist/PickList.d.ts
vendored
|
@ -200,6 +200,10 @@ export interface PickListPassThroughOptions {
|
|||
* @see {@link BaseComponent.ComponentHooks}
|
||||
*/
|
||||
hooks?: ComponentHooks;
|
||||
/**
|
||||
* Used to control Vue Transition API.
|
||||
*/
|
||||
transition?: any;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
@focus="onListFocus($event, 'sourceList')"
|
||||
@blur="onListBlur($event, 'sourceList')"
|
||||
@keydown="onItemKeyDown($event, 'sourceList')"
|
||||
v-bind="{ ...sourceListProps, ...ptm('sourceList') }"
|
||||
v-bind="{ ...sourceListProps, ...ptm('sourceList'), ...ptm('transition') }"
|
||||
>
|
||||
<template v-for="(item, i) of sourceList" :key="getItemKey(item, i)">
|
||||
<li
|
||||
|
@ -122,7 +122,7 @@
|
|||
@focus="onListFocus($event, 'targetList')"
|
||||
@blur="onListBlur($event, 'targetList')"
|
||||
@keydown="onItemKeyDown($event, 'targetList')"
|
||||
v-bind="{ ...targetListProps, ...ptm('targetList') }"
|
||||
v-bind="{ ...targetListProps, ...ptm('targetList'), ...ptm('transition') }"
|
||||
>
|
||||
<template v-for="(item, i) of targetList" :key="getItemKey(item, i)">
|
||||
<li
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue