# Loader

## Example

```
<kendo-loader>
    <messages />
</kendo-loader>
```

## ChildTags

| Tag Name | Details                                                                                                                                          |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| messages | [LoaderMessagesSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/loadermessagessettingstaghelper) |

## Attributes

| Attribute             | Type                                                                                                       | Description                                                                                                                      |
| --------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| name                  | String                                                                                                     | Sets the name of the component.                                                                                                  |
| script-attributes     | IDictionary\<String,Object>                                                                                | Sets the attributes that will be added to the script tag of the component's initialization script.                               |
| size                  | [LoaderSize](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/loadersize)             | Defines the size of the loader                                                                                                   |
| theme-color           | [LoaderThemeColor](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/loaderthemecolor) | Defines the theme color of the loader                                                                                            |
| type                  | [LoaderType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/loadertype)             | Defines the type of the loader                                                                                                   |
| visible               | Boolean                                                                                                    | If set to false the loader will not be displayed.                                                                                |
| is-in-client-template | Boolean                                                                                                    | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
| deferred              | Boolean                                                                                                    | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.      |
| as-module             | Boolean                                                                                                    | Specifies whether the initialization script of the component will be rendered as a JavaScript module.                            |
