Reference Source
import UserBio from 'flarum/components/UserBio.js'
public class | source

UserBio

Extends:

flarum/Component~Component → UserBio

The UserBio component displays a user's bio, optionally letting the user edit it.

Member Summary

Public Members
public

Whether or not the bio is currently being edited.

public

Whether or not the bio is currently being saved.

Method Summary

Public Methods
public

edit()

Edit the bio.

public

init()

public

save(value: String)

Save the bio.

public

view(): *

Public Members

public editing: Boolean source

Whether or not the bio is currently being edited.

public loading: Boolean source

Whether or not the bio is currently being saved.

Public Methods

public edit() source

Edit the bio.

public init() source

public save(value: String) source

Save the bio.

Params:

NameTypeAttributeDescription
value String

public view(): * source

Return:

*