封鎖 >事件 >已選取 >(建構函式)

Events.Selected.(constructor)

建構 Selected 類別的新例項

Signature:

constructor(opt_oldElementId?: string | null, opt_newElementId?: string | null, opt_workspaceId?: string);

參數

參數 類型 說明
opt_oldElementId 字串 | 空值 (選用) 先前選取元素的 ID。如果沒有上次選取元素,則為 null。空白事件未定義。
opt_newElementId 字串 | 空值 (選用) 所選元素的 ID。如果沒有目前選取的元素,則為空值 (取消選取)。空白事件未定義。
opt_workspaceId 字串 (選用) 這個事件的工作區 ID。如果先前未選取任何元素,則為空值。空白事件未定義。