sprintify-ui 0.0.180 → 0.0.182

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.
@@ -844,6 +844,12 @@ function firstColStyles(th: boolean): any {
844
844
  };
845
845
  }
846
846
 
847
+ function scrollTop() {
848
+ if (scrollable.value) {
849
+ scrollable.value.scrollTo({ top: 0, behavior: 'smooth' });
850
+ }
851
+ }
852
+
847
853
  provide('addColumn', addColumn);
848
854
  provide('removeColumn', removeColumn);
849
855
  provide('nextSequence', nextSequence);
@@ -851,6 +857,7 @@ provide('nextSequence', nextSequence);
851
857
  defineExpose({
852
858
  newColumns,
853
859
  uncheckAll,
860
+ scrollTop,
854
861
  });
855
862
  </script>
856
863