Home Reference Source
import WriteAnswerTemplate from '~/template/WriteAnswer/WriteAnswerTemplate.js'
public class | source

WriteAnswerTemplate

Extends:

js/template/template/FullScreenModalTemplate.js~FullScreenModalTemplate → WriteAnswerTemplate

Constructor Summary

Public Constructor
public

constructor(post: Post)

Member Summary

Public Members
public

The code editor

public

Commentary field

public

The encoding selector

public

These are the form elements

public

observeValidation: Observable

The validation observable.

public

The post that we're writing on

public

The body template

Method Summary

Public Methods
public

async didInitialLoad()

public
public

Public Constructors

public constructor(post: Post) source

Params:

NameTypeAttributeDescription
post Post

The post we're writing about

Public Members

public codeEditor: LabelGroup source

The code editor

public commentary: MarkdownTemplate source

Commentary field

public encoding source

The encoding selector

public languageInput: LabelGroup source

These are the form elements

public observeValidation: Observable source

The validation observable. Only available after load

public post: Post source

The post that we're writing on

public root: LoadingTemplate source

The body template

Public Methods

public async didInitialLoad() source

public didLoad() source

public didUnload() source