@und-ui/core 0.3.0 → 0.3.1

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.
@@ -5843,6 +5843,17 @@
5843
5843
  "name": "#scheduleMeasure",
5844
5844
  "privacy": "private"
5845
5845
  },
5846
+ {
5847
+ "kind": "method",
5848
+ "name": "#measureNow",
5849
+ "privacy": "private",
5850
+ "return": {
5851
+ "type": {
5852
+ "text": "void"
5853
+ }
5854
+ },
5855
+ "description": "Measures now instead of in the next frame. A cold Linux WebKit can hold\nback the first rendered frame for over a second, and requestAnimationFrame,\nResizeObserver and scroll events all wait for it; paging state must not."
5856
+ },
5846
5857
  {
5847
5858
  "kind": "method",
5848
5859
  "name": "#startPadding",
@@ -5894,7 +5905,7 @@
5894
5905
  },
5895
5906
  {
5896
5907
  "kind": "method",
5897
- "name": "#nearestSlide",
5908
+ "name": "#slideAt",
5898
5909
  "privacy": "private",
5899
5910
  "return": {
5900
5911
  "type": {
@@ -5907,8 +5918,21 @@
5907
5918
  "type": {
5908
5919
  "text": "HTMLElement"
5909
5920
  }
5921
+ },
5922
+ {
5923
+ "name": "target",
5924
+ "type": {
5925
+ "text": "number"
5926
+ }
5927
+ },
5928
+ {
5929
+ "name": "max",
5930
+ "type": {
5931
+ "text": "number"
5932
+ }
5910
5933
  }
5911
- ]
5934
+ ],
5935
+ "description": "The slide whose start edge is nearest `target` (distance from the scroll origin), from layout offsets."
5912
5936
  },
5913
5937
  {
5914
5938
  "kind": "method",
@@ -5964,7 +5988,7 @@
5964
5988
  }
5965
5989
  }
5966
5990
  ],
5967
- "description": "Scrolls about one view; wraps to the other end with `loop` or `autoplay`."
5991
+ "description": "Scrolls about one view; wraps to the other end with `loop` or `autoplay`.\nThe paging state (edges, index) is set from the computed target right away,\nnot from scroll events, which wait for a rendered frame."
5968
5992
  },
5969
5993
  {
5970
5994
  "kind": "method",