在 Card Region 顯示多張圖片
使用 Carousel 的方式,在 Card Region 中顯示多張圖片
Introduction
程序
S1. 為 Products 表格建立一個表單(Form)


S2. 設定 Card Region 中的 SQL Query 做為資料來源

S3. 設定 Card Region 中的 Media 的 HTML 內容 及 Media 要套用的 CSS Class


S4. 設定 Card Region 中的 CSS Class
原理說明: 捲動時同步輪播的指示器(Synchronizing the Carousel Indicators while Scrolling)
S5. 在 Card Region 中使用 Intersection Observer API 更新 Carousel Indicators
S5.1 增加 Dynamic Action 以建立 Intersection Observer



S5.2. 定義 Intersection Observer 的 callback function

結果

使用 RESTful Web Service 取得圖片 url
S1. Enable the REST service in the PROJECT3 schema [5].
S2. Create a RESTful Web Service Module in the Apex.


S3. Create a Resource Template in the RESTful Web Service Module.


S4. Create a Handler for the Resource URI Template.


S5. Test the RESTful Web Service.

S6. 修改 Card Region 中的 SQL Query
References
Last updated