This repository was archived by the owner on Mar 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
facade/src/main/scala/react/virtualized Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Changes
2
2
3
+ ## 0.9.3
4
+
5
+ * Upgrade to react-common 0.9.6
6
+ * Upgrade to scalajs-react 1.7.2
7
+
3
8
## 0.9.2
4
9
5
10
* Upgrade to react-common 0.9.4
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ lazy val facade =
104
104
)
105
105
106
106
lazy val commonSettings = Seq (
107
- scalaVersion := " 2.13.2 " ,
107
+ scalaVersion := " 2.13.3 " ,
108
108
organization := " io.github.cquiroz.react" ,
109
109
sonatypeProfileName := " io.github.cquiroz" ,
110
110
description := " scala.js facade for react-virtualized" ,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ object AutoSizer {
70
70
p.disableHeight = disableHeight
71
71
p.disableWidth = disableWidth
72
72
p.nonce = nonce
73
- p.onResize = (s : Size ) => onResize(s).runNow
73
+ p.onResize = (s : Size ) => onResize(s).runNow()
74
74
p.children = (s : Size ) => children(s).toRaw
75
75
p.style = style.map(Style .toJsObject).getOrElse(new js.Object ())
76
76
p
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ object Table {
299
299
Style .fromJsObject(r.style)
300
300
).toRaw
301
301
p.id = id
302
- p.noRowsRenderer = Some [RawNoRowsRenderer ](() => noRowsRenderer.apply.rawNode).orUndefined
302
+ p.noRowsRenderer = Some [RawNoRowsRenderer ](() => noRowsRenderer.apply() .rawNode).orUndefined
303
303
p.onHeaderClick = (x : RawHeaderClickParam ) => onHeaderClick(x.columnData, x.dataKey).runNow()
304
304
p.onRowClick = (x : RawIndexParameter ) => onRowClick(x.index).runNow()
305
305
p.onRowDoubleClick = (x : RawIndexParameter ) => onRowDoubleClick(x.index).runNow()
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import react.common.EnumValue
13
13
14
14
package object virtualized {
15
15
implicit class TableJsMethodsOps (val m : virtualized.Table .JsMethods ) extends AnyVal {
16
- def forceUpdateGridCB : Callback = Callback (m.forceUpdateGrid)
17
- def measureAllRowsCB : Callback = Callback (m.measureAllRows)
16
+ def forceUpdateGridCB : Callback = Callback (m.forceUpdateGrid() )
17
+ def measureAllRowsCB : Callback = Callback (m.measureAllRows() )
18
18
def recomputeRowHeightsCB (index : Int ): Callback =
19
19
Callback (m.recomputeRowHeights(index))
20
20
def recomputeRowsHeightsCB (indexes : Int * ): Callback =
You can’t perform that action at this time.
0 commit comments