方法 PickerBuilder.setOrigin

設定挑選器對話方塊的來源。如果應用程式在 iframe 中執行,來源應設為最頂層頁面的 window.location.protocol + '//' + window.location.host。

簽名

setOrigin(origin: string): PickerBuilder;

詳細資料

選用 否
決賽 否
受保護 否
靜態 否

參數

名稱 類型 選用 說明
origin string 否

傳回

PickerBuilder