Gets or sets the style associated with this item.
Namespace: MindFusion.Diagramming
File: DiagramItem.js
SyntaxJavaScript
Copy Code
|
|---|
get style() {} |
Style
An instance of the Style class.
RemarksIndividual properties of DiagramItem have higher priority than ones set through a Style object. If neither are set, values are inherited from Diagram's style or from current theme.
Note |
|---|
As of version 4.9 of the library, items can also by styled via CSS, where a custom CSS property name inside a declaration matches respective Style property, but is hyphenated, and type selectors match item type name with added mfd- prefix. For example: |
See Also