-
-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
263 changed files
with
17,014 additions
and
12,361 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@page "/tests/pdfviewer" | ||
<Row> | ||
<Column> | ||
<Card Margin="Margin.Is4.OnY"> | ||
<CardHeader> | ||
<CardTitle>PdfViewer</CardTitle> | ||
</CardHeader> | ||
<CardBody> | ||
<PdfViewerContainer Height="Height.Rem(50)"> | ||
<PdfViewerToolbar /> | ||
<PdfViewer Source="@source" /> | ||
</PdfViewerContainer> | ||
</CardBody> | ||
</Card> | ||
</Column> | ||
</Row> | ||
<Row> | ||
<Column> | ||
<Card Margin="Margin.Is4.OnY"> | ||
<CardHeader> | ||
<CardTitle>As a standalone PdfViewer</CardTitle> | ||
</CardHeader> | ||
<CardBody> | ||
<Button Color="Color.Primary" Clicked="@(()=>standalonePdfViewerRef.PreviousPage())">Previous page</Button> | ||
<Button Color="Color.Primary" Clicked="@(()=>standalonePdfViewerRef.NextPage())">Next page</Button> | ||
<Button Color="Color.Secondary" Clicked="@(()=>pageNumber = 5)">Go to Page 5</Button> | ||
<Button Color="Color.Secondary" Clicked="@(()=>scale = 1)">Set Scale 1</Button> | ||
<Button Color="Color.Secondary" Clicked="@(()=>scale = 2)">Set Scale 2</Button> | ||
<Button Color="Color.Dark" Clicked="@(()=>standalonePdfViewerRef.Print())">Print</Button> | ||
</CardBody> | ||
<CardBody> | ||
<Div Height="Height.Rem(50)" Overflow="Overflow.Auto"> | ||
<PdfViewer @ref="@standalonePdfViewerRef" Source="@source" @bind-PageNumber="@pageNumber" @bind-Scale="@scale" /> | ||
</Div> | ||
</CardBody> | ||
</Card> | ||
</Column> | ||
</Row> | ||
@code { | ||
string source = "https://raw.githubusercontent.com/mozilla/pdf.js/ba2edeae/web/compressed.tracemonkey-pldi-09.pdf"; | ||
PdfViewer standalonePdfViewerRef; | ||
int pageNumber = 2; | ||
double scale = 1; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
@page "/tests/skeleton" | ||
<Row> | ||
<Column> | ||
<Card Margin="Margin.Is4.OnY"> | ||
<CardHeader> | ||
<CardTitle>Skeleton</CardTitle> | ||
</CardHeader> | ||
<CardBody> | ||
<CardText> | ||
In the example below, we take a typical card component and recreate it with placeholders applied to create a “loading card”. Size and proportions are the same between the two. | ||
</CardText> | ||
</CardBody> | ||
</Card> | ||
</Column> | ||
</Row> | ||
<Row> | ||
<Column> | ||
<Card Margin="Margin.Is4.FromBottom"> | ||
<CardBody> | ||
<Row> | ||
<Column ColumnSize="ColumnSize.Is4.OnTablet.Is3.OnWidescreen.Is12.OnMobile"> | ||
<Card> | ||
<CardImage Source="_content/Blazorise.Demo/img/cards/image-1.jpg" Alt="Placeholder image"> | ||
</CardImage> | ||
<CardBody> | ||
<CardTitle Size="5">Card title</CardTitle> | ||
<CardText> | ||
Some quick example text to build on the card title and make up the bulk of the card's content. | ||
</CardText> | ||
<Button Color="Color.Primary">Button</Button> | ||
</CardBody> | ||
</Card> | ||
</Column> | ||
<Column ColumnSize="ColumnSize.Is4.OnTablet.Is3.OnWidescreen.Is12.OnMobile"> | ||
<Card> | ||
<CardImage Source="_content/Blazorise.Demo/img/cards/image-2.jpg" Alt="Placeholder image"> | ||
</CardImage> | ||
<CardBody> | ||
<CardTitle Size="5"> | ||
<Skeleton> | ||
<SkeletonItem ColumnSize="ColumnSize.Is6" /> | ||
</Skeleton> | ||
</CardTitle> | ||
<CardText> | ||
<Skeleton Animation="SkeletonAnimation.Pulse"> | ||
<SkeletonItem ColumnSize="ColumnSize.Is7" /> | ||
<SkeletonItem ColumnSize="ColumnSize.Is4" /> | ||
<SkeletonItem ColumnSize="ColumnSize.Is4" /> | ||
<SkeletonItem ColumnSize="ColumnSize.Is6" /> | ||
<SkeletonItem ColumnSize="ColumnSize.Is8" /> | ||
</Skeleton> | ||
</CardText> | ||
<Button Color="Color.Primary">Button</Button> | ||
</CardBody> | ||
</Card> | ||
</Column> | ||
</Row> | ||
</CardBody> | ||
</Card> | ||
</Column> | ||
</Row> | ||
<Row> | ||
<Column> | ||
<Card Margin="Margin.Is4.FromBottom"> | ||
<CardHeader> | ||
<CardTitle>Table</CardTitle> | ||
</CardHeader> | ||
<CardBody> | ||
<CardText> | ||
<Code Tag>SkeletonTable</Code> allows you to scaffold a basic table structure by utilizing the rows and columns props to define the size of the table. | ||
</CardText> | ||
</CardBody> | ||
<CardBody> | ||
<SkeletonTable Rows="5" Columns="4" /> | ||
</CardBody> | ||
</Card> | ||
</Column> | ||
</Row> |
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
Binary file added
BIN
+600 KB
...entation/Blazorise.Docs.Server/wwwroot/img/blog/2024-09-16/blazorise-future.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.