Widgets
Samples
Demos
Forum
Services
Documentation
add
addCss
addShape
adjust
adjustItem
attachEvent
autoPlace
bind
blockEvent
callEvent
clearAll
clearCss
count
customize
define
destructor
detachEvent
disable
enable
exists
filter
find
getChildViews
getFirstId
getFormView
getIdByIndex
getIndexById
getItem
getItemNode
getItemValue
getLastId
getLinkItemNode
getLinks
getNextId
getNode
getParentView
getPrevId
getScrollState
getSelectedId
getSelectedItem
getShape
getShapes
getTopParentView
hasCss
hasEvent
hide
isCurveLink
isEnabled
isSelected
isVisible
load
loadNext
locate
mapEvent
parse
queryView
refresh
remove
removeCss
render
resize
scrollTo
select
selectAll
serialize
setShape
show
sort
sync
unbind
unblockEvent
unselect
unselectAll
updateItem
waitSave
Start
API Reference
ui.diagram
Methods
hasCss
checks if item has specific css class
boolean
hasCss
(
id
id
,
string
css
);
id
id
item id
css
string
name of css class that needs to be checked
boolean
returns true if such css class was set
Example
list.
hasCss
(
12
,
"xw_second"
)
;
Back to top