tauri-kargo-tools 0.2.3 → 0.2.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/package.json +1 -1
- package/src/vue-model.ts +16 -0
package/package.json
CHANGED
package/src/vue-model.ts
CHANGED
|
@@ -233,6 +233,22 @@ export class Vue<T extends object> {
|
|
|
233
233
|
return this;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
+
/* ------------ Label ------------ */
|
|
237
|
+
staticLabel(label: string, opt?: {
|
|
238
|
+
/** Identifiants CSS/DOM */
|
|
239
|
+
id?: string; class?: string | string[];
|
|
240
|
+
width?: number | string; height?: number | string;
|
|
241
|
+
visible?: KeysOfType<T, boolean>; enable?: KeysOfType<T, boolean>;
|
|
242
|
+
useVisibility?: boolean;
|
|
243
|
+
}): this {
|
|
244
|
+
const node: StaticLabelNode<T>= {
|
|
245
|
+
kind: 'staticLabel',
|
|
246
|
+
label,
|
|
247
|
+
...opt
|
|
248
|
+
};
|
|
249
|
+
this.cursor.push(node as unknown as UINode<T>);
|
|
250
|
+
return this;
|
|
251
|
+
}
|
|
236
252
|
|
|
237
253
|
|
|
238
254
|
/* ------------ BootVue (label dynamique) ------------ */
|