Citation

Example

Razor
<kendo-citation>
    <body-template></body-template>
    <messages />
    <sources></sources>
</kendo-citation>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
body-template-handlerStringA function used to render the entire popover body. Receives { sources: [] } as the first argument and must return an HTML string. When set, the built-in navigation buttons and source layout are not rendered. This option expects the name of a JavaScript function that will be called to return the template.
labelStringThe text label displayed on the chip. When null, the hostname of the first source URL is used automatically.
on-openStringThe name of the JavaScript function that will handle the open event. Fired before the sources popover opens. Calling e.preventDefault() prevents the popover from being shown.The event handler function context (available via the this keyword) will be set to the widget instance.
popover-widthDoubleThe width of the sources popover in pixels.
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
show-additional-countBooleanWhen true and more than one source is present, a +N count is appended to the chip label showing the number of additional sources.
show-onCitationShowOnDetermines when the popover is shown.
source-iconStringThe name of the SVG icon used for source links inside the popover.
source-svg-iconStringOverrides sourceIcon with a specific SVG icon name for source links inside the popover.
svg-iconStringThe name of the SVG icon displayed on the chip.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support