Header menu logo issie

SelectedComponentView Module

Nested modules

Modules Description

Constants

Functions and values

Function or value Description

componentTypeName ct

Full Usage: componentTypeName ct

Parameters:
Returns: string

The kind of component this is, in the words a user would use for it. Not Symbol.getComponentLegend, which is the text drawn inside the symbol: that bakes in bit counts and rotation, and the pane shows the width in its own box right below. Legacy types are named rather than refused. This renders above everything else in the pane, so a component that cannot be named must not take the whole pane down with it.

ct : ComponentType
Returns: string

constantDialogWithDefault (w, cText) dialog

Full Usage: constantDialogWithDefault (w, cText) dialog

Parameters:
Returns: int * string

Return dialog fileds used by constant, or default values

w : int
cText : string
dialog : PopupDialogData
Returns: int * string

getDialogMemorySetup mem

Full Usage: getDialogMemorySetup mem

Parameters:
Returns: int * int * InitMemData * string option
mem : Memory1
Returns: int * int * InitMemData * string option

getInitSource mem model

Full Usage: getInitSource mem model

Parameters:
Returns: Result<string, string>
mem : Memory1
model : Model
Returns: Result<string, string>

makeBusCompareDialog model comp text dispatch

Full Usage: makeBusCompareDialog model comp text dispatch

Parameters:
Returns: ReactElement

Create react to change constant properties

model : Model
comp : Component
text : string
dispatch : Msg -> Unit
Returns: ReactElement

makeConstantDialog model comp text dispatch

Full Usage: makeConstantDialog model comp text dispatch

Parameters:
Returns: ReactElement

Create react to change constant properties

model : Model
comp : Component
text : string
dispatch : Msg -> Unit
Returns: ReactElement

makeDefaultValueField model comp dispatch

Full Usage: makeDefaultValueField model comp dispatch

Parameters:
Returns: ReactElement

Used for Input1 Component types. Make field for users to enter a default value for Input1 Components when they are undriven.

model : Model
comp : Component
dispatch : Msg -> unit
Returns: ReactElement

makeVerilogDeleteButton model custom dispatch

Full Usage: makeVerilogDeleteButton model custom dispatch

Parameters:
Returns: ReactElement
model : Model
custom : CustomComponentType
dispatch : Msg -> unit
Returns: ReactElement

makeVerilogEditButton model custom dispatch

Full Usage: makeVerilogEditButton model custom dispatch

Parameters:
Returns: ReactElement
model : Model
custom : CustomComponentType
dispatch : Msg -> unit
Returns: ReactElement

mockDispatchS msgFun msg

Full Usage: mockDispatchS msgFun msg

Parameters:
    msgFun : Msg -> unit
    msg : Msg

msgFun : Msg -> unit
msg : Msg

msgToS

Full Usage: msgToS

Returns: Msg -> Msg
Returns: Msg -> Msg

viewSelectedComponent model dispatch

Full Usage: viewSelectedComponent model dispatch

Parameters:
Returns: ReactElement
model : Model
dispatch : Msg -> Unit
Returns: ReactElement

Type something to start searching.