This updates is mainly about TypeScript definitions that was added for the whole framework!
Here is full changelog:
- Core
- Added TypeScript definitions for whole core framework APIs (with huge help of @JasonKleban)!
- Swiper update to latest 4.4.1:
- Core
- New
centerInsufficientSlides
parameter to center slides if the amount of slides less thanslidesPerView
- New
breakpointsInverse
parameter (boolean), if enabled then it will count breakpoints in reversed direction, e.g. will override parameters if window width is more than specified breakpoint
- New
- Virtual Slides
- New
addSlidesBefore
andaddSlidesAfter
parameters to increase amount of pre-rendered slides
- New
- Thumbs
- All new “Thumbs” module/component designed to control slider thumbnails, in more logical and correct way than with Controller module.
- Core
- Virtual DOM Router Components
- Added snabbdom’s “style” module that allows to make fancy and smooth custom animations
- Input
- Now input placeholder will be visible on item with floating label when it receives focus
- Added TypeScript definitions for whole core framework APIs (with huge help of @JasonKleban)!
- Phenome
- Added TypeScript definitions for all React components
- Added TypeScript definitions for F7-Vue and F7-React components extensions (e.g.
this.$f7
,this.$f7router
, etc.) - List Component
- new
noChevron
prop to disable “chevron” icon on all nested list items with link - new
chevronCenter
prop to set “chevron” icon in the middle of all nested media list items with link
- new
- ListItem Component
-
disabled
prop will now set “disabled” class on list item if it is not a checkbox or radio - new
noChevron
prop to disable “chevron” icon on list item with link - new
chevronCenter
prop to set “chevron” icon in the middle of media list item with link
-
- Improved Framework7 initialization routine
- Fixed issue when
f7ready
callback fired beforedeviceready
event in Cordova environment
- Added TypeScript definitions for all React components
- Lots of fixes
P.S.
If you love Framework7, you can support project by donating or pledging on Patreon: https://www.patreon.com/vladimirkharlampidi