Changelog
17.0.0
Nominal types Nominal<string,"Bobril">
.
IBobrilStyleDef
is now not plain string but nominal type.
sprite
without color creates another nominal type ColorlessSprite
. spriteWithColor
now takes only ColorlessSprite
type making it compile time type safe, function for evaluation could be also passed.
New method svg
allows to embed svg in JS source and then use it as ColorlessSprite
. It is not expected to directly use svg
method but instead sprite
and bobril-build will load svg from disk and change that call to this method.
New method svgWithColor
allows to resize previously defined svg or recolor multiple colors not just gray
for which you can still use spriteWithColor
.
When you need to use jQuery selectors with Bobril and you already have nice key
in VDom to use with bbseeker
, you can now enable automatic publishing of keys to classNames by b.setKeysInClassNames(true); b.ignoreShouldChange();
without need to change your application.
Changelog
15.2.0
Fix of small problem in router.
ctxClass now have to inherit from BobrilCtx and call its super constructor. But adding disposables in such constructor works again.
components without ctxClass have their ctx instance of BobrilCtx instead of plain object.