jobdone-shared-files 0.0.1-beta.86 → 0.0.1-beta.88

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 CHANGED
@@ -28,19 +28,33 @@
28
28
 
29
29
  ----
30
30
 
31
- ### vueLoadingOverlay
32
- 指定樣式的 vue-loading-overlay
33
-
34
- 用法說明 `("isLoading" => 自定義變數)` :
35
- | 步驟 | 說明 | 範例 |
36
- |------|-------------------|----------------------------------------------|
37
- | 1. | 在js或.vue中import | `import Loading from "../../node_modules/jobdone-shared-files/vueLoadingOverlay.vue";` |
38
- | 2. | 畫面中放上Component | `<Loading :is-active="isLoading"></Loading>` |
39
- | 3. | loading 初始化 | `const isLoading = ref(false);` |
40
- | 4. | 開啟loading | `isLoading.value = true;` |
41
- | 5. | 關閉loading | `isLoading.value = false;` |
42
31
 
32
+ ### **VueLoadingOverlay**
33
+ 指定樣式的vue-loading-overlay
43
34
 
35
+ * #### VueLoadingOverlay 如何使用
36
+ 用法說明 `("isLoading" => 自定義變數)` :
37
+ | 步驟 | 說明 | 範例 |
38
+ | ---- | ------------------- | -------------------------------------------------------------------------------------- |
39
+ | 1. | 在js或.vue中import | `import Loading from "../../node_modules/jobdone-shared-files/vueLoadingOverlay.vue";` |
40
+ | 2. | 畫面中放上Component | `<Loading :is-active="isLoading"></Loading>` |
41
+ | 3. | loading 初始化 | `const isLoading = ref(false);` |
42
+ | 4. | 開啟loading | `isLoading.value = true;` |
43
+ | 5. | 關閉loading | `isLoading.value = false;` |
44
+ * #### VueLoadingOverlay 可用變數:
45
+ | # | 參數 Attribute | 型別 Type | 預設值 Default | 說明Description |
46
+ | --- | -------------- | --------- | -------------- | ---------------------------------------------------- |
47
+ | 1. | full-page | `Boolean` | `true` | 是否填滿整個視窗。<br>為False時,則填滿放置位置的父層 |
48
+
49
+ * #### VueLoadingOverlay 其他可用變數(統一樣式不推薦修改):
50
+
51
+ | # | 參數 Attribute | 型別 Type | 預設值 Default | 說明Description |
52
+ | --- | ---------------- |:---------:|:--------------:|:------------------------------------------ |
53
+ | 1. | is-active | `Boolean` | `false` | 開啟 / 關閉 |
54
+ | 2. | loader | `String` | `bars` | 圖案樣式<br>spinner / dots / bars 三種可選 |
55
+ | 3. | colors | `String` | `#fff` | 圖案顏色 |
56
+ | 4. | background-color | `String` | `#000` | 遮罩顏色 |
57
+ | 5. | opacity | `Number ` | `0.5` | 遮罩透明度 |
44
58
 
45
59
 
46
60
  ----
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jobdone-shared-files",
3
- "version": "0.0.1-beta.86",
3
+ "version": "0.0.1-beta.88",
4
4
  "description": "Shared JS and SCSS for Jobdone Enterprise.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -53,10 +53,6 @@ export default {
53
53
  type: Number,
54
54
  default: loadingOverlayOptions.opacity
55
55
  },
56
- opacity: {
57
- type: Number,
58
- default: loadingOverlayOptions.opacity
59
- },
60
56
  fullPage: {
61
57
  type: Boolean,
62
58
  default: true