Skip to content

Latest commit

 

History

History
73 lines (35 loc) · 1.07 KB

zotero-plugin-toolkit.virtualizedtablehelper.setprop.md

File metadata and controls

73 lines (35 loc) · 1.07 KB

Home > zotero-plugin-toolkit > VirtualizedTableHelper > setProp

VirtualizedTableHelper.setProp() method

Set properties by name.

Signature:

setProp<K extends keyof VirtualizedTableProps, V extends VirtualizedTableProps[K]>(propName: K, propValue: V): VirtualizedTableHelper;

Parameters

Parameter

Type

Description

propName

K

Property name

propValue

V

Property value

**Returns:**

VirtualizedTableHelper

Remarks

id and getRowCount are required. If id is not set, it's a random string.