QrCode.Data Class
This class shouldn't be used directly. It is intended as an interface to implement a specific data encoding mode.
Constructor
Methods
Properties
Attributes
type
String
When extending this class, the value of type should be specifically defined. Make sure the type is also set on the Y.QrCode.Data.Type object.
Fires event typeChange
Fires when the value for the configuration attribute type
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
value
The value to encode.
Fires event valueChange
Fires when the value for the configuration attribute value
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added: