Releases
v4.2.31
olton
released this
16 Dec 16:58
4.2.31
Sidebar: add submenu support
Sidebar: add any content support with li class .content-container
Sidebar: add attribute data-size
to set sidebar width
Sidebar: add attribute data-position
to set sidebar right
or left
(default)
Array: add function (if not exists) contains(val, idx)
String: add function toArray(delim, type, format)
this function is equal to Utils.strToArray
Calendar: add attribute data-exclude-day
. Comma separated string with day number from 0 (Sunday) to 6 (Saturday)
Calendar: add attribute data-show-week-number="true|false"
Calendar: add attribute data-week-number-click="true|false"
Calendar: add event data-on-week-number-click="..."
Calendar: add event data-on-day-draw="..."
Calendar: fix day selection for disabled
Calendar: add class day-border
and attribute data-day-border="true|false"
Validator: fix error if value is undefined
Validator: function date
now support additional input attribute data-value-format
for non ECMAScript dates
Validator: function date
now support additional input attribute data-value-locale
for non ECMAScript dates
Z-index: set equal z-index for appbar
, bottomnav
, bottomsheet
, tabsmaterial
Carousel: rename attribute data-bullet-style
to data-bullets-style
Carousel: add attribute data-bullet-size
with values default
, mini
, small
, large
Carousel: add style cycle
Popover: set default value for data-popover-timeout
to 10
, issue #1277
Storage: Objects storage
and session storage
combined into one object. Access to objects remained unchanged: Metro.storage
, Metro.session
String: String.toDate
now support locale
as second parameter: "21 грудня 1972".toDate('%d %m %y', 'uk-UA')
Navview: upd docs and less
Lists: upd items-list
, feed-list
, group-list
to use with not a list element.
Table: minor improve update
Table: add attribute data-horizontal-scroll-stop
. You can use this attribute to define media to stop scrolling.
You can’t perform that action at this time.