-
-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Breakpoint on Container component * Document Breakpoint attribute
- Loading branch information
Showing
13 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...ation/Blazorise.Docs/Pages/Docs/Components/Grids/Code/ContainerBreakpointExampleCode.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div class="blazorise-codeblock"> | ||
<div class="html"><pre> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Container</span> <span class="htmlAttributeName">Breakpoint</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Breakpoint</span><span class="enumValue">.Tablet</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Alert</span> <span class="htmlAttributeName">Color</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Color</span><span class="enumValue">.Primary</span><span class="quot">"</span> <span class="htmlAttributeName">Visible</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="keyword">true</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
100% wide until tablet breakpoint | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Alert</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Container</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Container</span> <span class="htmlAttributeName">Breakpoint</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Breakpoint</span><span class="enumValue">.Desktop</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Alert</span> <span class="htmlAttributeName">Color</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Color</span><span class="enumValue">.Primary</span><span class="quot">"</span> <span class="htmlAttributeName">Visible</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="keyword">true</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
100% wide until desktop breakpoint | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Alert</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Container</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Container</span> <span class="htmlAttributeName">Breakpoint</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Breakpoint</span><span class="enumValue">.Widescreen</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Alert</span> <span class="htmlAttributeName">Color</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Color</span><span class="enumValue">.Primary</span><span class="quot">"</span> <span class="htmlAttributeName">Visible</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="keyword">true</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
100% wide until widescreen breakpoint | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Alert</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Container</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Container</span> <span class="htmlAttributeName">Breakpoint</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Breakpoint</span><span class="enumValue">.FullHD</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"><</span><span class="htmlElementName">Alert</span> <span class="htmlAttributeName">Color</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="enum">Color</span><span class="enumValue">.Primary</span><span class="quot">"</span> <span class="htmlAttributeName">Visible</span><span class="htmlOperator">=</span><span class="quot">"</span><span class="keyword">true</span><span class="quot">"</span><span class="htmlTagDelimiter">></span> | ||
100% wide until full-hd breakpoint | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Alert</span><span class="htmlTagDelimiter">></span> | ||
<span class="htmlTagDelimiter"></</span><span class="htmlElementName">Container</span><span class="htmlTagDelimiter">></span> | ||
</pre></div> | ||
</div> |
22 changes: 22 additions & 0 deletions
22
...tion/Blazorise.Docs/Pages/Docs/Components/Grids/Examples/ContainerBreakpointExample.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@namespace Blazorise.Docs.Docs.Examples | ||
|
||
<Container Breakpoint="Breakpoint.Tablet"> | ||
<Alert Color="Color.Primary" Visible="true"> | ||
100% wide until tablet breakpoint | ||
</Alert> | ||
</Container> | ||
<Container Breakpoint="Breakpoint.Desktop"> | ||
<Alert Color="Color.Primary" Visible="true"> | ||
100% wide until desktop breakpoint | ||
</Alert> | ||
</Container> | ||
<Container Breakpoint="Breakpoint.Widescreen"> | ||
<Alert Color="Color.Primary" Visible="true"> | ||
100% wide until widescreen breakpoint | ||
</Alert> | ||
</Container> | ||
<Container Breakpoint="Breakpoint.FullHD"> | ||
<Alert Color="Color.Primary" Visible="true"> | ||
100% wide until full-hd breakpoint | ||
</Alert> | ||
</Container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters