Home Reference Source
import {NoteFrame} from './scripts/widgets/ui_noteframe.js'
public class | source

NoteFrame

Extends:

scripts/core/ui.js~ui.RowFrame → NoteFrame

Static Method Summary

Static Public Methods
public static

define(): {"tagname": string, "style": string}

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
Private Members
private

Method Summary

Public Methods
public

addNote(msg: *, color: string, timeout: number, tagname: string, showExclMark: boolean): *

public

init()

public

progbarNote(msg: *, percent: *, color: string, timeout: number, id: *): *

public

setCSS()

Private Methods
private

Static Public Methods

public static define(): {"tagname": string, "style": string} source

Return:

{"tagname": string, "style": string}

Public Constructors

public constructor() source

Public Members

public background: * source

Private Members

private _h: number source

Public Methods

public addNote(msg: *, color: string, timeout: number, tagname: string, showExclMark: boolean): * source

Params:

NameTypeAttributeDescription
msg *
color string
  • optional
  • default: rgba(255,0,0,0.2)
timeout number
  • optional
  • default: 1200
tagname string
  • optional
  • default: note-x
showExclMark boolean
  • optional
  • default: true

Return:

*

public init() source

public progbarNote(msg: *, percent: *, color: string, timeout: number, id: *): * source

Params:

NameTypeAttributeDescription
msg *
percent *
color string
  • optional
  • default: rgba(255,0,0,0.2)
timeout number
  • optional
  • default: 700
id *
  • optional
  • default: msg

Return:

*

public setCSS() source

Private Methods

private _ondestroy() source