Skip to content

Commit b47aa7a

Browse files
ntachevanikolay-nenkov
authored andcommitted
chore(common): fix snippets
1 parent eee26cb commit b47aa7a

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

components/multiselect/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The MultiSelect component allows you to change what is rendered in its items, he
4646
>caption Using MultiSelect Templates
4747
4848
````CSHTML
49-
* MultiSelect component with HeaderTemplate, ItemTemplate, TagTemplate, FooterTemplate and NoDataTemplate *@
49+
@* MultiSelect component with HeaderTemplate, ItemTemplate, TagTemplate, FooterTemplate and NoDataTemplate *@
5050
5151
<p>
5252
<TelerikCheckBox @bind-Value="@IsDataAvailable" OnChange="@OnCheckBoxChangeHandler" />

components/notification/appearance.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ There are built-in themes for the most common notifications such as Success, Inf
159159
160160
public void AddColoredNotifications()
161161
{
162-
var fields = typeof(Telerik.Blazor.ThemeColors)
162+
var fields = typeof(Telerik.Blazor.ThemeConstants.Button.ThemeColor)
163163
.GetFields(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static |
164164
System.Reflection.BindingFlags.FlattenHierarchy)
165165
.Where(fi => fi.IsLiteral && !fi.IsInitOnly).ToList();
@@ -170,10 +170,10 @@ There are built-in themes for the most common notifications such as Success, Inf
170170
var color = currentField.GetValue(null).ToString();
171171
172172
NotificationReference.Show(new NotificationModel()
173-
{
174-
Text = $"Notification with color theme - {color}",
175-
ThemeColor = $"{color}"
176-
});
173+
{
174+
Text = $"Notification with color theme - {color}",
175+
ThemeColor = $"{color}"
176+
});
177177
}
178178
}
179179
}

components/panelbar/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ The table below lists the PanelBar methods. Also consult the [PanelBar API](/bla
162162
| --- | --- |
163163
| `Rebind` | [Refreshes the component data]({%slug panelbar-refresh-data%}#rebind-method). |
164164

165+
<div class="skip-repl"></div>
165166
````CSHTML
166167
<TelerikPanelBar @ref="@PanelBarRef" .../>
167168

components/scheduler/navigation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ Change current View:
8484
8585
new SchedulerAppointment
8686
{
87-
Id = Guid.NewGuid(),
8887
Title = "Planning meeting",
8988
Description = "Kick off the new project.",
9089
Start = new DateTime(2019, 12, 6, 9, 30, 0),

components/stepper/steps/state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This feature serves to mark the desired step as disabled, so users cannot click
5252
![Disabled step](images/disabled-step-example.png)
5353

5454
````CSHTMl
55-
* Stepper with one disabled step. *@
55+
@* Stepper with one disabled step. *@
5656
5757
<div style="width:700px">
5858
<TelerikStepper>

components/textarea/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ The Telerik <a href ="https://www.telerik.com/blazor-ui/textarea" target="_blank
1616

1717
1. Add the `<TelerikTextArea>` tag to a Razor file.
1818
2. Set the `Value` parameter to a `string` object. It supports one-way and two-way binding.
19-
3. (optional) Set the `AutoSize` property to adjust the TextArea height based on the user input.
19+
3. (optional) Set the `ResizeMode` property to `Auto` to adjust the TextArea size based on the user input.
2020
4. (optional) Set the `MaxLength ` property to control the maximum amount of characters that the user can type in the component.
2121

2222
>caption Basic TextArea with two-way value binding
2323
2424
````CSHTML
2525
<TelerikTextArea @bind-Value="@TextAreaValue"
26-
AutoSize="true"
26+
ResizeMode="TextAreaResizeMode.Auto"
2727
MaxLength="200" />
2828
2929
<p>TextArea value: @TextAreaValue</p>

components/toolbar/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `OnClick` event fires when the user clicks on a button in the ToolBar (also
2727
@*When clicking on the button a message will be printed in your console*@
2828
2929
<TelerikToolBar>
30-
<ToolBarButton Icon="@SvgIcon.Envelope"Link OnClick="@OnHyperlinkClick">Hyperlink</ToolBarButton>
30+
<ToolBarButton Icon="@SvgIcon.Envelope" OnClick="@OnHyperlinkClick">Hyperlink</ToolBarButton>
3131
</TelerikToolBar>
3232
3333
@@ -49,7 +49,7 @@ The `SelectedChanged` event will fire when the user changes the state of the [`T
4949
@*Handle the SelectedChangedEvent*@
5050
5151
<TelerikToolBar>
52-
<TelerikToggleButton Selected="@Selected" SelectedChanged="@SelectedChangedHandler"></TelerikToggleButton>
52+
<ToolBarToggleButton Selected="@Selected" SelectedChanged="@SelectedChangedHandler">Select me</ToolBarToggleButton>
5353
5454
</TelerikToolBar>
5555

0 commit comments

Comments
 (0)