chandu0101
.
scalajs
.
react
.
components
ReactTreeView
Related Doc:
package components
object
ReactTreeView
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
ReactTreeView
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
class
Backend
extends
AnyRef
case class
NodeBackend
(
$:
BackendScope
[
NodeProps
,
NodeState
]
)
extends
Product
with
Serializable
type
NodeC
=
MountedWithRoot
[
CallbackTo
,
NodeProps
,
NodeState
,
NodeBackend
,
NodeProps
,
NodeState
]
case class
NodeProps
(
root:
TreeItem
,
open:
Boolean
,
depth:
Int
=
0
,
parent:
String
=
""
,
onNodeSelect: (
NodeC
) ⇒
Callback
,
filterText:
String
,
style:
Style
,
filterMode:
Boolean
)
extends
Product
with
Serializable
case class
NodeState
(
children:
Seq
[
TreeItem
] =
Nil
,
selected:
Boolean
=
false
)
extends
Product
with
Serializable
case class
Props
(
root:
TreeItem
,
open:
Boolean
,
onItemSelect:
UndefOr
[(
String
,
String
,
Int
) ⇒
Callback
]
,
showSearchBox:
Boolean
,
style:
Style
)
extends
Product
with
Serializable
case class
State
(
filterText:
String
,
filterMode:
Boolean
,
selectedNode:
UndefOr
[
NodeC
]
)
extends
Product
with
Serializable
trait
Style
extends
AnyRef
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
lazy val
TreeNode
:
japgolly.scalajs.react.component.Js.ComponentWithRoot
[
NodeProps
, [-p, +u]
japgolly.scalajs.react.CtorType.Props
[
p
,
u
],
UnmountedWithRoot
[
NodeProps
,
MountedWithRoot
[[A]
A
,
NodeProps
,
NodeState
,
NodeBackend
,
NodeProps
,
NodeState
],
Box
[
NodeProps
],
MountedWithRoot
[[A]
A
,
Box
[
NodeProps
],
Box
[
NodeState
],
ReactComponent
[_ <:
Object
, _ <:
Object
] with
Vars
[
NodeProps
,
NodeState
,
NodeBackend
],
Box
[
NodeProps
],
Box
[
NodeState
]]],
Box
[
NodeProps
], [-p, +u]
japgolly.scalajs.react.CtorType.Props
[
p
,
u
],
UnmountedWithRoot
[
Box
[
NodeProps
],
MountedWithRoot
[[A]
A
,
Box
[
NodeProps
],
Box
[
NodeState
],
ReactComponent
[_ <:
Object
, _ <:
Object
] with
Vars
[
NodeProps
,
NodeState
,
NodeBackend
],
Box
[
NodeProps
],
Box
[
NodeState
]],
Box
[
NodeProps
],
MountedWithRoot
[[A]
A
,
Box
[
NodeProps
],
Box
[
NodeState
],
ReactComponent
[_ <:
Object
, _ <:
Object
] with
Vars
[
NodeProps
,
NodeState
,
NodeBackend
],
Box
[
NodeProps
],
Box
[
NodeState
]]]]
def
apply
(
root:
TreeItem
,
openByDefault:
Boolean
=
false
,
onItemSelect:
UndefOr
[(
String
,
String
,
Int
) ⇒
Callback
] =
js.undefined
,
showSearchBox:
Boolean
=
false
,
style:
Style
=
new Style {}
)
:
UnmountedWithRoot
[
Props
,
MountedWithRoot
[[A]
A
,
Props
,
State
,
Backend
,
Props
,
State
],
Box
[
Props
],
MountedWithRoot
[[A]
A
,
Box
[
Props
],
Box
[
State
],
ReactComponent
[_ <:
Object
, _ <:
Object
] with
Vars
[
Props
,
State
,
Backend
],
Box
[
Props
],
Box
[
State
]]]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
component
:
japgolly.scalajs.react.component.Js.ComponentWithRoot
[
Props
, [-p, +u]
japgolly.scalajs.react.CtorType.Props
[
p
,
u
],
UnmountedWithRoot
[
Props
,
MountedWithRoot
[[A]
A
,
Props
,
State
,
Backend
,
Props
,
State
],
Box
[
Props
],
MountedWithRoot
[[A]
A
,
Box
[
Props
],
Box
[
State
],
ReactComponent
[_ <:
Object
, _ <:
Object
] with
Vars
[
Props
,
State
,
Backend
],
Box
[
Props
],
Box
[
State
]]],
Box
[
Props
], [-p, +u]
japgolly.scalajs.react.CtorType.Props
[
p
,
u
],
UnmountedWithRoot
[
Box
[
Props
],
MountedWithRoot
[[A]
A
,
Box
[
Props
],
Box
[
State
],
ReactComponent
[_ <:
Object
, _ <:
Object
] with
Vars
[
Props
,
State
,
Backend
],
Box
[
Props
],
Box
[
State
]],
Box
[
Props
],
MountedWithRoot
[[A]
A
,
Box
[
Props
],
Box
[
State
],
ReactComponent
[_ <:
Object
, _ <:
Object
] with
Vars
[
Props
,
State
,
Backend
],
Box
[
Props
],
Box
[
State
]]]]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped