Note: This post is a summary of information paraphrased from an excellent blog post by Christian Sepulveda.
Create the app and download the necessary dependencies.
Create the app and download the necessary dependencies.
package in.boxs | |
sealed trait Position | |
case object Center extends Position | |
case object Corner extends Position | |
sealed trait Axis | |
case object XAxis extends Axis | |
case object YAxis extends Axis | |
case object ZAxis extends Axis |
import React, { useState, useEffect } from "react"; | |
import { Checkbox, Input, Row, Col, Slider } from "antd"; | |
import ReactDOM from "react-dom"; | |
import { v4 as uuidv4 } from "uuid"; | |
const Component = ({ checked, text = "", id }) => { | |
const [value, setValue] = useState(false); | |
const [num, setNum] = useState(0); | |
useEffect(() => { | |
setValue(checked); |
<pre>_SECTION_BEGIN; | |
// Code Source: wisestocktrader | |
SetChartOptions(0,chartShowArrows|chartShowDates); | |
/*Body Colors*/ | |
whiteBody=C>=O; | |
blackBody=O>C; | |
/*Body Size*/ |
import org.scalajs.dom._ | |
import org.scalajs.dom.document._ | |
import zio._ | |
import org.scalajs.dom.raw._ | |
import scala.scalajs.js | |
import scala.scalajs.js.annotation._ | |
import scala.language.postfixOps | |
trait DomService: | |
def implementation: UIO[DOMImplementation] |