move method

This commit is contained in:
Niels Lyngsø
2024-01-05 14:51:59 +01:00
parent 5b00f1a204
commit 96ab9052c3

View File

@@ -24,11 +24,6 @@ export class UmbBlockGridTypeWorkspaceViewSettingsElement extends UmbLitElement
#datasetContext?: typeof UMB_PROPERTY_DATASET_CONTEXT.TYPE;
#onRowSpanChange(e: CustomEvent) {
this.#datasetContext?.setPropertyValue('rowMinSpan', (e.target as UmbInputNumberRangeElement).minValue);
this.#datasetContext?.setPropertyValue('rowMaxSpan', (e.target as UmbInputNumberRangeElement).maxValue);
}
constructor() {
super();
@@ -76,6 +71,11 @@ export class UmbBlockGridTypeWorkspaceViewSettingsElement extends UmbLitElement
});
}
#onRowSpanChange(e: CustomEvent) {
this.#datasetContext?.setPropertyValue('rowMinSpan', (e.target as UmbInputNumberRangeElement).minValue);
this.#datasetContext?.setPropertyValue('rowMaxSpan', (e.target as UmbInputNumberRangeElement).maxValue);
}
render() {
return html`
<uui-box headline=${this.localize.term('general_general')}>