diff --git a/api-generator/components/orderlist.js b/api-generator/components/orderlist.js index f2c9e4bc1..29b1086de 100644 --- a/api-generator/components/orderlist.js +++ b/api-generator/components/orderlist.js @@ -40,6 +40,12 @@ const OrderListProps = [ type: "string", default: "960px", description: "The breakpoint to define the maximum width boundary when responsiveness is enabled." + }, + { + name: "stripedRows", + type: "boolean", + default: "false", + description: "Whether to displays rows with alternating colors." } ]; diff --git a/api-generator/components/picklist.js b/api-generator/components/picklist.js index 4dc358c33..dc72c9cfe 100644 --- a/api-generator/components/picklist.js +++ b/api-generator/components/picklist.js @@ -40,6 +40,12 @@ const PickListProps = [ type: "string", default: "960px", description: "The breakpoint to define the maximum width boundary when responsiveness is enabled." + }, + { + name: "stripedRows", + type: "boolean", + default: "false", + description: "Whether to displays rows with alternating colors." } ]; diff --git a/src/components/picklist/PickList.d.ts b/src/components/picklist/PickList.d.ts index 8186f1ed7..ffeb5261d 100755 --- a/src/components/picklist/PickList.d.ts +++ b/src/components/picklist/PickList.d.ts @@ -52,7 +52,7 @@ export interface PickListMoveAllToTargetEvent extends PickListMoveToTargetEvent */ export interface PickListMoveToSourceEvent extends PickListMoveToTargetEvent { } - /** +/** * @extends PickListMoveToTargetEvent */ export interface PickListMoveAllToSourceEvent extends PickListMoveToTargetEvent { } @@ -91,6 +91,10 @@ export interface PickListProps { * Default value is '960px'. */ breakpoint?: string | undefined; + /** + * Whether to displays rows with alternating colors. + */ + stripedRows?: boolean | undefined; } export interface PickListSlots { diff --git a/src/components/picklist/PickList.vue b/src/components/picklist/PickList.vue index 15a141e60..8f473d60b 100755 --- a/src/components/picklist/PickList.vue +++ b/src/components/picklist/PickList.vue @@ -1,5 +1,5 @@