Home Reference Source
import ProfileSettingsView from '~/template/ProfileSettings/ProfileSettingsView.js'
public class | source

ProfileSettingsView

Extends:

js/template/template/Template.js~Template → ProfileSettingsView

A setting view

Constructor Summary

Public Constructor
public

constructor(data: Object, root: HTMLElement, opts: Object)

Receives a root and data.

Member Summary

Public Members
public
public
public
public
public

Public Constructors

public constructor(data: Object, root: HTMLElement, opts: Object) source

Receives a root and data.

Params:

NameTypeAttributeDescription
data Object

data from the main template

root HTMLElement
opts Object

options for header

opts.button ButtonTemplate
  • nullable: true

a button to put in header

Public Members

public rootTemplate: ProfileSettingsTemplate source

public section: string source

public subtitle: string source

public title: string source

public user: User source