File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 7
7
namespace Our . Umbraco . TagHelpers
8
8
{
9
9
/// <summary>
10
- /// Use to fallback simple properties
10
+ /// Fallback Umbraco properties
11
11
/// </summary>
12
12
[ HtmlTargetElement ( "our-fallback" ) ]
13
13
public class OurFallbackTagHelper : TagHelper
14
14
{
15
+ /// <summary>
16
+ /// The property on the Model to use as a fallback such as Model.Header
17
+ /// Would just be Header
18
+ /// </summary>
15
19
[ HtmlAttributeName ( "property" ) ]
16
20
public ModelExpression ModelProperty { get ; set ; }
17
21
18
22
[ HtmlAttributeName ( "mode" ) ]
19
23
public Fallback Mode { get ; set ; }
20
24
25
+ /// <summary>
26
+ /// If using the fallback mode as Language then you can specify the culture to fallback to
27
+ /// </summary>
21
28
[ HtmlAttributeName ( "culture" ) ]
22
29
public string CultureCode { get ; set ; } = null ;
23
30
You can’t perform that action at this time.
0 commit comments