Class: AddContent

AddContent()

The form to add content to the knowledge platform for registered users

Constructor

new AddContent()

Source:

Methods

changeLanguage(value)

Change the language of the content

Parameters:
Name Type Description
value *
Source:

changeTopic(value, index)

Change the thematic coverage of the content

Parameters:
Name Type Description
value
index *
Source:

removeContent()

Remove content by dispatching the according action

Source:

submitForm()

Submit the form to add content to the knowledge repository by dispatching the according action

Source:

toggleDelete()

Toggle the delete buttons

Source:

updateField(event)

Update field state

Parameters:
Name Type Description
event
Source:

updateTags(tags)

Update the tags

Parameters:
Name Type Description
tags
Source:

uploadFile()

Upload a file to the knowledge platform This is only possible for users that are marked as project partner

Source: