カルーセルビューアの JavaScript API リファレンス。
CarouselViewer([config])
コンストラクター。HTML5 のカルーセルビューアインスタンスを作成します。
config |
{object} オプションの JSON 設定オブジェクト。個々のセッターメソッドを呼び出すのを避けるために、すべてのビューア設定をコンストラクターに渡すことができます。 次のプロパティが含まれます。
|
なし
var carouselViewer = new s7viewers.CarouselViewer({
"containerId":"s7viewer",
"params":{
"asset":"/content/dam/dm-public-facing-live-demo-page/04_shoppable_carousel/05_shoppable_banner",
"serverurl":"https://adobedemo62-h.assetsadobe.com/is/image"
},
"handlers":{
"initComplete":function() {
console.log("init complete");
}
},
"localizedTexts":{
"en":{
"PanLeftButton.TOOLTIP":"Left"
},
"fr":{
"PanLeftButton.TOOLTIP":"Gauchiste"
},
defaultLocale:"en"
}
});