File tree Expand file tree Collapse file tree 3 files changed +26
-15
lines changed
LinkDotNet.Blog.Web/Shared Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 61
61
</div >
62
62
</div >
63
63
</div >
64
+ <FeatureInfoDialog @ref =" FeatureDialog" ></FeatureInfoDialog >
64
65
65
- <ModalDialog @ref =" FeatureDialog" Title =" Additional Features" >
66
- <p >Here you will find a comprehensive list over feature you can use additional to classic markdown</p >
67
- <p >Features marked with <i class =" fas fa-flask" ></i > are experimental and can change heavily, get removed or the usage changes.</p >
68
- <p >Use with caution and check the changelog</p >
69
- <hr >
70
- <h3 style =" display :inline-block " >Slide-Show</h3 ><i class =" fas fa-flask" ></i >
71
- <p >Will create a slide-show with images specified by the tag.</p >
72
- <strong >Usage:</strong >
73
- <code ><pre >< ; slide-show> ;
74
- < ; slide-show-image src="https://picsum.photos/600/200" title="Title 1"> ;< ; /slide-show-image> ;
75
- < ; slide-show-image src="https://picsum.photos/500/200" title="Title 2"> ;< ; /slide-show-image> ;
76
- < ; slide-show-image src="https://picsum.photos/550/200" title="Title 3"> ;< ; /slide-show-image> ;
77
- < ; /slide-show> ; </pre ></code >
78
- </ModalDialog >
79
66
@code {
80
67
[Parameter ]
81
68
public BlogPost BlogPost { get ; set ; }
89
76
[Parameter ]
90
77
public bool ClearAfterCreated { get ; set ; } = true ;
91
78
92
- private ModalDialog FeatureDialog { get ; set ; }
79
+ private FeatureInfoDialog FeatureDialog { get ; set ; }
93
80
94
81
private CreateNewModel model = new ();
95
82
Original file line number Diff line number Diff line change
1
+ <ModalDialog @ref =" FeatureDialog" Title =" Additional Features" >
2
+ <p >Here you will find a comprehensive list over feature you can use additional to classic markdown</p >
3
+ <p >Features marked with <i class =" fas fa-flask" ></i > are experimental and can change heavily, get removed or the usage changes.</p >
4
+ <p >Use with caution and check the changelog</p >
5
+ <hr >
6
+ <h3 style =" display :inline-block " >Slide-Show</h3 ><i class =" fas fa-flask" ></i >
7
+ <p >Will create a slide-show with images specified by the tag.</p >
8
+ <strong >Usage:</strong >
9
+ <code ><pre >< ; slide-show> ;
10
+ < ; slide-show-image src="https://picsum.photos/600/200" title="Title 1"> ;< ; /slide-show-image> ;
11
+ < ; slide-show-image src="https://picsum.photos/500/200" title="Title 2"> ;< ; /slide-show-image> ;
12
+ < ; slide-show-image src="https://picsum.photos/550/200" title="Title 3"> ;< ; /slide-show-image> ;
13
+ < ; /slide-show> ; </pre ></code >
14
+ </ModalDialog >
15
+
16
+ @code {
17
+ private ModalDialog FeatureDialog { get ; set ; }
18
+
19
+ public void Open ()
20
+ {
21
+ FeatureDialog .Open ();
22
+ }
23
+ }
Original file line number Diff line number Diff line change 35
35
modalDisplay = " block" ;
36
36
modalClass = " show" ;
37
37
showBackdrop = true ;
38
+ StateHasChanged ();
38
39
}
39
40
40
41
public void Close ()
You can’t perform that action at this time.
0 commit comments