@kinxcdn/commerce-player 1.6.7-alpha.2 → 1.6.7-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/dist/commerce-player.min.js +14 -14
- package/dist/esm/index.js +18 -18
- package/dist/styles.css +1 -1
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -25,23 +25,23 @@ npm i @kinxcdn/commerce-player@alpha
|
|
|
25
25
|
|
|
26
26
|
#### Props
|
|
27
27
|
|
|
28
|
-
| Prop | 타입 | 기본값 | 설명
|
|
29
|
-
| ------------ | ------------ | ------- |
|
|
30
|
-
| `shortform` | `Shortform` | — | 단일 숏폼 플레이어로 렌더링할 데이터
|
|
31
|
-
| `collection` | `Collection` | — | 컬렉션 플레이어로 렌더링할 데이터
|
|
32
|
-
| `isMobile` | `boolean` | `false` | 모바일 플레이어 UI 렌더링 여부
|
|
28
|
+
| Prop | 타입 | 기본값 | 설명 |
|
|
29
|
+
| ------------ | ------------ | ------- | ------------------------------------------------------- |
|
|
30
|
+
| `shortform` | `Shortform` | — | 단일 숏폼 플레이어로 렌더링할 데이터 |
|
|
31
|
+
| `collection` | `Collection` | — | 컬렉션 플레이어로 렌더링할 데이터 |
|
|
32
|
+
| `isMobile` | `boolean` | `false` | 모바일 플레이어 UI 렌더링 여부 |
|
|
33
33
|
| `isPreview` | `boolean` | `true` | 미리보기 모드 여부. `true`일 때 통계 호출을 보내지 않음 |
|
|
34
34
|
|
|
35
35
|
`shortform`과 `collection` 중 하나를 전달합니다. `collection` 전달 시 `collection.contents`의 첫 번째 숏폼부터 재생 대상으로 사용합니다.
|
|
36
36
|
|
|
37
37
|
#### 지원 레이아웃
|
|
38
38
|
|
|
39
|
-
| 값
|
|
40
|
-
|
|
|
41
|
-
| `1` | `PLATFORM` | 플랫폼형 플레이어와 우측 상품/정보 패널
|
|
42
|
-
| `2` | `GRID` | 플레이어와 2행 상품 그리드 캐러셀
|
|
43
|
-
| `3` | `VERTICAL` | 플레이어와 세로 상품 캐러셀
|
|
44
|
-
| `4` | `HORIZONTAL` | 플레이어와 가로 상품 캐러셀
|
|
39
|
+
| 값 | 레이아웃 | 설명 |
|
|
40
|
+
| --- | ------------ | --------------------------------------- |
|
|
41
|
+
| `1` | `PLATFORM` | 플랫폼형 플레이어와 우측 상품/정보 패널 |
|
|
42
|
+
| `2` | `GRID` | 플레이어와 2행 상품 그리드 캐러셀 |
|
|
43
|
+
| `3` | `VERTICAL` | 플레이어와 세로 상품 캐러셀 |
|
|
44
|
+
| `4` | `HORIZONTAL` | 플레이어와 가로 상품 캐러셀 |
|
|
45
45
|
|
|
46
46
|
#### 사용 예시
|
|
47
47
|
|