Skip to content

Commit 0ac3110

Browse files
ntachevanikolay-nenkov
authored andcommitted
chore(common): fix snippets
1 parent f3ffe32 commit 0ac3110

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
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/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)