提供: Bright Pattern Documentation
• English
switchActiveInteraction
id に基づいてアクティブなインタラクションを変更します。
リクエスト
構文
| switchActiveInteraction(interactionId: string): Promise<OperationResult<null>> |
パラメータ
| パラメータ | パラメータの値 | データ型 | オプション/必須 | 説明 |
| interactionId | 文字列 | 必須 | アクティブとして設定したいインタラクションのid |
リクエスト例
switchActiveInteractionButton.onclick = () => {
const itemId = activeInteractionIdInput.値
adApi.switchActiveInteraction(itemId)
}
戻り値
null