You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$().w2field(...) and addType(...)- deprecated. You should doclass myType extends w2field {...}`
enum fields: defining onNew is no longer enough to add arbitrary items. You need to set options.autoAdd: true now.
w2grid
recordHeight: default changed from 24 to 32 ( #914e2be3 )
onUnselect - deprecated, use onSelect which is called anytime selection changes
w2form
focus can be a string
applyFocus() -> setFocus()
`setFocus()takes an optional string/integer argument and returns the focused element (orundefined`` if the index/field could not be focused)
msgNotJSON - deprecated
msgAJAXerror - deprecated
w2popup
added openMaximized
w2utils
w2utils.event - deprecated
Accessing "missing" translations via w2utils.lang will by default result in a warning being logged to the console. You can change this behavior in the w2utils settings.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
1.5 final -> 2.0
Note: most of the properties that have been marked as deprecated in 1.5 are now removed!
w2base (new class)
w2event (new class)
event.detail
for all custom properties, used to be attached to theevent
objectawait event.complete
-preferred way, but still can useevent.done(func)
and.event.onComplete = func
w2tooltip (new class)
Tooltip
w2layout
w2field
$().w2field(...) and
addType(...)- deprecated. You should do
class myType extends w2field {...}`onNew
is no longer enough to add arbitrary items. You need to setoptions.autoAdd: true
now.w2grid
recordHeight
: default changed from 24 to 32 ( #914e2be3 )onUnselect
- deprecated, useonSelect
which is called anytime selection changesw2form
focus
can be a stringapplyFocus()
->setFocus()
takes an optional string/integer argument and returns the focused element (or
undefined`` if the index/field could not be focused)msgNotJSON
- deprecatedmsgAJAXerror
- deprecatedw2popup
openMaximized
w2utils
w2utils.lang
will by default result in a warning being logged to the console. You can change this behavior in the w2utils settings.Beta Was this translation helpful? Give feedback.
All reactions