<kendo:diagram-connectionDefaults-content>
Defines the label displayed on the connection path.
Example
<kendo:diagram-connectionDefaults>
<kendo:diagram-connectionDefaults-content></kendo:diagram-connectionDefaults-content>
</kendo:diagram-connectionDefaults>
Configuration Attributes
color java.lang.String
The color of the connection content text.
Example
<kendo:diagram-connectionDefaults-content color="color">
</kendo:diagram-connectionDefaults-content>
fontFamily java.lang.String
The font family of the connection content text.
Example
<kendo:diagram-connectionDefaults-content fontFamily="fontFamily">
</kendo:diagram-connectionDefaults-content>
fontSize float
The font size of the connection content text.
Example
<kendo:diagram-connectionDefaults-content fontSize="fontSize">
</kendo:diagram-connectionDefaults-content>
fontStyle java.lang.String
The font style of the connection content text.
Example
<kendo:diagram-connectionDefaults-content fontStyle="fontStyle">
</kendo:diagram-connectionDefaults-content>
fontWeight java.lang.String
The font weight of the connection content text.
Example
<kendo:diagram-connectionDefaults-content fontWeight="fontWeight">
</kendo:diagram-connectionDefaults-content>
template java.lang.String
The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.
Example
<kendo:diagram-connectionDefaults-content template="template">
</kendo:diagram-connectionDefaults-content>
text java.lang.String
The static text displayed on the connection.
Example
<kendo:diagram-connectionDefaults-content text="text">
</kendo:diagram-connectionDefaults-content>
visual java.lang.String
A function returning a visual element to render for the content of a connection.
Example
<kendo:diagram-connectionDefaults-content visual="visual">
</kendo:diagram-connectionDefaults-content>
Event Attributes
template String
The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.
Example
<kendo:diagram-connectionDefaults-content template="handle_template">
</kendo:diagram-connectionDefaults-content>
<script>
function handle_template(e) {
// Code to handle the template event.
}
</script>
visual String
A function returning a visual element to render for the content of a connection.
Example
<kendo:diagram-connectionDefaults-content visual="handle_visual">
</kendo:diagram-connectionDefaults-content>
<script>
function handle_visual(e) {
// Code to handle the visual event.
}
</script>
Event Tags
kendo:diagram-connectionDefaults-content-template
The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.
Example
<kendo:diagram-connectionDefaults-content>
<kendo:diagram-connectionDefaults-content-template>
<script>
function(e) {
// Code to handle the template event.
}
</script>
</kendo:diagram-connectionDefaults-content-template>
</kendo:diagram-connectionDefaults-content>
kendo:diagram-connectionDefaults-content-visual
A function returning a visual element to render for the content of a connection.
Example
<kendo:diagram-connectionDefaults-content>
<kendo:diagram-connectionDefaults-content-visual>
<script>
function(e) {
// Code to handle the visual event.
}
</script>
</kendo:diagram-connectionDefaults-content-visual>
</kendo:diagram-connectionDefaults-content>