Progress
Mit unserem Progress-Modul kannst du ganz einfach sowohl Fortschrittsbalken, als auch Slider-Inputs bauen.
Weitere Details folgen demnächst...
Modulcode
json
GIP_progress({
uniqueId: "myUniqueName" + Nr,
embedded: true,
recordId: raw(Nr),
fieldId: "",
minValue: 0,
maxValue: 0,
value: *any*,
})json
GIP_progress({
uniqueId: "myUniqueName" + Nr,
embedded: true,
recordId: raw(Nr),
fieldId: "",
style: "",
minValue: 0,
maxValue: 0,
track: {
style: "",
},
value: *any*,
contentEditable: true,
})json
GIP_progress({
uniqueId: "myUniqueName" + Nr,
embedded: true,
recordId: raw(Nr),
fieldId: "",
formId: "myForm" + Nr,
style: "",
minValue: 0,
maxValue: 0,
steps: {
value: *any*,
},
displayValue: {
style: "",
},
track: {
style: "",
},
value: *any*,
contentEditable: true,
})json
GIP_progress({
uniqueId: "",
embedded: {
height: "",
styleHtml: "",
styleStri: "",
presets: "",
},
recordId: "",
fieldId: "",
formId: "",
style: "",
minValue: 0,
maxValue: 0,
steps: {
value: *any*,
},
displayValue: {
style: "",
displayMax: true,
displayMin: true,
separator: "",
orientation: "",
},
track: {
style: "",
colorLeft: "",
colorRight: "",
},
thumb: {
style: "",
},
value: *any*,
label: {
class: "",
style: "",
value: *any*,
orientation: "",
},
contentEditable: true,
})json
html( raw(GIP_master({})) +
raw(GIP_progress({
uniqueId: "",
embedded: {
height: "",
styleHtml: "",
styleStri: "",
presets: "",
},
recordId: "",
fieldId: "",
formId: "",
style: "",
minValue: 0,
maxValue: 0,
steps: {
value: *any*,
},
displayValue: {
style: "",
displayMax: true,
displayMin: true,
separator: "",
orientation: "",
},
track: {
style: "",
colorLeft: "",
colorRight: "",
},
thumb: {
style: "",
},
value: *any*,
label: {
class: "",
style: "",
value: *any*,
orientation: "",
},
contentEditable: true,
})
))Key-Table
Beispiele
Progress: Basis Fortschrittsbalken
Beschreibung
Wir möchten einen einfachen Fortschrittsbalken mit einem Label erstellen. Um den Thumb auszublenden und damit eine reine Progress-Bar zu erhalten, setzen wir den ContentEditable-Key auf "false". Danach geben wir noch den minimalen Wert des Fortschrittsbalken (hier "0"), den maximalen Wert (hier "20") und den aktuell hinterlegten Wert in Ninox an.
Code des Beispiels
json
html(raw(GIP_master({})) +
raw(GIP_progress({
uniqueId: "Basic Not Editable" + Nr,
embedded: false,
style: "",
contentEditable: false,
value: Zahl,
minValue: 0,
maxValue: 20,
label: {
style: "",
value: "Fortschrittsbalken",
orientation: ""
}
})
))json
GIP_progress({
uniqueId: "Basic Not Editable" + Nr,
embedded: true,
style: "",
contentEditable: false,
value: Zahl,
minValue: 0,
maxValue: 20,
label: {
style: "",
value: "Fortschrittsbalken",
orientation: ""
}
})