oyvindberg on docs-object
Builders: initialize `null` cor… Builders: initialize `literals`… Docs: Working with objects (compare)
oyvindberg on limit-literal-strings
oyvindberg on master
Limit how many fake literal str… (compare)
oyvindberg on master
Update scala-library to 2.12.13… (compare)
oyvindberg on more-js-dynamic
oyvindberg on master
More usage of js.Dynamic instea… (compare)
oyvindberg on limit-literal-strings
Limit how many fake literal str… (compare)
oyvindberg on more-js-dynamic
More usage of js.Dynamic instea… (compare)
oyvindberg on master
Update os-lib to 0.7.3 (#257) (compare)
oyvindberg on more-js-dynamic
More usage of js.Dynamic instea… (compare)
oyvindberg on fix-echarts
oyvindberg on master
fix echarts (#255) (compare)
oyvindberg on fix-echarts
fix echarts (compare)
oyvindberg on fix-echarts
fix echarts (compare)
oyvindberg on fix-echarts
fix echarts (compare)
oyvindberg on master
Update scalatest to 3.2.5 (#253) (compare)
oyvindberg on dotty-support
bump versions (compare)
oyvindberg on dotty-support
fix test (compare)
oyvindberg on dotty-support
disable wildcards in a more cle… (compare)
oyvindberg on dotty-support
disable wildcards, ensure metho… (compare)
@oyvindberg apparently, reloading on a page other than the home doesn't work, was the fix that I pushed deployed? or it be that there is another change needed for the github pages side?
About this, I remember now, the webserver needs to be configured to serve the index when the file is not found, which I have no idea if can be done on gh pages with your current settings
stPublishCache
from my computer, but it's not able to publish itself. If you want to update the published demo you need to run dist
in sbt and check in the results, which will be on the docs
folder
dist
now and pushed it by the way
[warn ] 2020-11-16T00:52:31.544315Z Phase3Compile.scala:144 Built /home/olvind/.ivy2/local/org.scalablytyped.slinky/react_sjs1_3.0.0-M1/16.9-dt-20200711Z-805e37/jars/react_sjs1_3.0.0-M1.jar in 48664 ms [id => react, thread => 1, phase => build, flavour => SlinkyFlavour]
hello, i want to display the demo of circular progress integration with using styleBuilder given in material ui demos, when i add val classes = styles1(js.undefined), it gives me blank pagen any suggestions`object DemoCircularIntegration {
case class Props()
//val classes = styles(js.undefined)
case class State(loading: Boolean = false, success: Boolean = false) {
def setLoading = copy(success = false, loading = true)
def setSuccess = copy(success = true, loading = false)
}
class Backend(t: BackendScope[Props, State]) {
var timer: js.UndefOr[js.timers.SetTimeoutHandle] = js.undefined
def unmount = Callback {
timer.foreach(js.timers.clearTimeout)
timer = js.undefined
}
def setSuccess = Callback {
timer = js.timers.setTimeout(2000)(t.modState(_.setSuccess).runNow())
}
def handleButtonClick(loading: Boolean) = {
(t.modState(_.setLoading) >> setSuccess).when(!loading) >> Callback.empty
}
val classes = styles1(js.undefined)
def render(props: Props, state: State): VdomElement = {
// val css = props.style
// val classes = css.styles
//val buttonCss = if (state.success) css.buttonSuccess else css.common.emptyStyle
<. div(
<. div(
Mui.Fab.color(typings.materialUiCore.mod.PropTypes.Color.primary).onClick(_ => handleButtonClick(state.loading))(
if (state.success) Muii.Check() else Muii.Save()
),
HicpCircularProgress(size=68,className="fabProgress")().when(state.loading)
),
div(
HicpRaisedButton(touchTapCallback=_ =>handleButtonClick(state.loading), disabled=state.loading)
("Accept terms")
),
HicpCircularProgress(size=24,className="buttonProgress")().when(state.loading)
)
}
}`