component

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewComponentDefinitionModel

func NewComponentDefinitionModel(oscalComponent *oscalTypes_1_1_2.ComponentDefinition) Model

NewComponentDefinitionModel create new model for component definition view

func (*Model) Close

func (m *Model) Close()

func (*Model) GetDimensions

func (m *Model) GetDimensions() (height, width int)

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) Open

func (m *Model) Open(height, width int)

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Model) UpdateSizing

func (m *Model) UpdateSizing(height, width int)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL