1.4.0
- Redesign homepage.
- Rewrite CSS using Less.
- Rewrap modules with CommonJS specification.
- Build with Gulp.
- Remove image dependencies by iconfont or base64.
- JSDoc3 style documentations.
- 19 new themes: blue(default), light-blue, cyan, teal, green, light-green, lime, yellow, amber, orange, brown, blue-gray, gray, deep-orange, red, pink, purple, deep-purple, indigo.
Components updates
- bizui (namespace)
- Exposed to global environment.
- New properties:
codepoints
,theme
. - Deprecated methods:
noConflict
and component constructors(except Tooltip). - Deprecated property:
version
.
- Button
- New options:
customClass
,icon
,size
. - Deprecated option:
label
(usetext
). - Deprecated theme value of option:
dark
(usegray
).
- New options:
- Calendar
- Lots of new options and methods.
- Deprecated methods:
enable
,disable
. - Decoupling Input components, initialize and style them by yourself.
- Checkbox, Radio
- New option:
theme
. - Deprecated method:
get
(use jQuery selector).
- New option:
- Dialog
- New options:
customClass
,draggable
,position
,theme
. - New methods:
title
,updateButtons
. - Deprecated methods:
bizui.Dialog.alert
(usebizui.alert
),bizui.Dialog.confirm
(usebizui.confirm
). - Deprecated options:
skin
(usetheme
orcustomClass
),useMousewheel
. - Use
data-title
attribute to retrieve title instead oftitle
.
- New options:
- DropDown
- New option:
customClass
. - Deprecated options:
skin
(usecustomClass
),delay
,event
. - Rename plugin:
bizDropDown
.
- New option:
- Input
- New options:
customClass
,theme
. - New event:
enter
. - Support the
placeholder
attribute for older IE. - Deprecated option:
onEnter
(bindenter
event).
- New options:
- Page
- New options:
customClass
,theme
. - New methods:
disable
,enable
,getPageSize
,nextPage
,prevPage
. - Provide second boolean param for
setTotalNumber
to control redrawing. - New event:
change
. - Deprecated option:
onPageClick
(bindchange
event).
- New options:
- Panel
- New options:
customClass
,destroyOnClose
,speed
,theme
,title
,onBeforeClose
,zIndex
. - New methods:
title
,updateButtons
. - Use
data-title
attribute to retrieve title instead oftitle
.
- New options:
- Select
- New options:
theme
,inheritOriginalWidth
. - New methods:
open
,close
. - Deprecated option:
loop
. - Deprecated methods:
enable
,disable
,val
(use jQuery val() to get or set, call refresh() after setting).
- New options:
- Tab
- New options:
action
,customClass
,selectedIndex
,theme
. - New method:
index
. - New event:
change
. - Deprecated options:
event
(useaction
),onChange
(bindchange
event),skin
(usetheme
orcustomClass
). - Deprecated method:
select
(useindex
).
- New options:
- Table
- New options:
customClass
,defaultSort
,onFailEdit
. - Provide third boolean param for
setSelected
to tigger onSelect. - Deprecated option:
skin
(usecustomClass
),resizable
(huge code and low usage ratio).
- New options:
- Textarea
- New options:
customClass
,theme
. - Support the
placeholder
attribute for older IE.
- New options:
- Textline
- New options:
customClass
,maxLine
,theme
,valArray
. - New method:
valArray
. - Deprecated option:
skin
(usetheme
orcustomClass
). - Deprecated method:
lines
(usevalArray
to get data, usemaxLine
to limit max line number).
- New options:
- Tooltip
- Use
data-tooltip
attribute to mark target elements instead oftitle
. - New options:
action
,element
,theme
,preventDefault
,removeAll
,removeSpecific
. - Deprecated param:
destroy
(use option{removeAll: true}
). - Deprecated options:
color
(usetheme
),direction
(usedata-tooltip-direction
attribute),margin
,el
(useelement
).
- Use
- Tree
- Lots of new options and methods.
- Deprecated methods:
ins
.
- TreeTable
- New options:
column
,customClass
,initialState
,clickableNodeNames
. - New methods:
loadBranch
,move
,node
,removeNode
,sortBranch
,unloadBranch
. - Deprecated options:
expanded
(useinitialState
),resizable
,onLoad
,onSelect
,onCancelSelect
. - Deprecated method:
selectNode
.
- New options:
For more detailed APIs, run gulp doc
and see docs/
.