#1 2017-02-14 12:04:05

redstormi
Member
From: Sweden
Registered: 2016-12-12
Posts: 15
Website

setStatusText error

Passing "&" to the function like:

alt1.setStatusText('&')

gives you an error.

error

Last edited by redstormi (2017-02-14 12:04:40)

Offline

#2 2017-02-14 12:53:59

Skillbert
Administrator
Registered: 2014-12-30
Posts: 1,061

Re: setStatusText error

I havn't created documentation for this yet, but the statustext string is parsed as xml and rendered much like html. What you're seeing is mostly intentional (except for error being cut off and the offset being off by 8)
Shared.js from the notifications app has some example usage.

Offline

Board footer

Powered by FluxBB