26
26
<DocsPageSectionHeader Title =" Basic example" >
27
27
Simply set the <Code >Source</Code > attribute and you’re good to go.
28
28
</DocsPageSectionHeader >
29
- <DocsPageSectionContent Outlined FullWidth >
29
+ <DocsPageSectionContent Outlined FullWidth SourceCode = " BasicImageExample " >
30
30
<BasicImageExample />
31
31
</DocsPageSectionContent >
32
- <DocsPageSectionSource Code =" BasicImageExample" />
33
32
</DocsPageSection >
34
33
35
34
<DocsPageSection >
36
35
<DocsPageSectionHeader Title =" Deferred Loading" >
37
36
Add <Code >Loading</Code > parameter to enable image to dynamically load when you scroll into view.
38
37
</DocsPageSectionHeader >
39
- <DocsPageSectionContent Outlined FullWidth >
38
+ <DocsPageSectionContent Outlined FullWidth SourceCode = " ImageLoadingExample " >
40
39
<ImageLoadingExample />
41
40
</DocsPageSectionContent >
42
- <DocsPageSectionSource Code =" ImageLoadingExample" />
43
41
</DocsPageSection >
44
42
45
43
<DocsPageSection >
46
44
<DocsPageSectionHeader Title =" Fluid image" >
47
45
By enabling <Code >Fluid</Code > parameter, it forces an image to take up the whole width of its container.
48
46
</DocsPageSectionHeader >
49
- <DocsPageSectionContent Outlined FullWidth >
47
+ <DocsPageSectionContent Outlined FullWidth SourceCode = " ImageFluidExample " >
50
48
<ImageFluidExample />
51
49
</DocsPageSectionContent >
52
- <DocsPageSectionSource Code =" ImageFluidExample" />
53
50
</DocsPageSection >
54
51
55
52
<DocsPageSection >
61
58
If you inspect the image with devtools you will be able to see <Code >alt</Code > assigned.
62
59
</Paragraph >
63
60
</DocsPageSectionHeader >
64
- <DocsPageSectionContent Outlined FullWidth >
61
+ <DocsPageSectionContent Outlined FullWidth SourceCode = " ImageTextExample " >
65
62
<ImageTextExample />
66
63
</DocsPageSectionContent >
67
- <DocsPageSectionSource Code =" ImageTextExample" />
68
64
</DocsPageSection >
69
65
70
66
<ComponentApiDocs ComponentTypes =" [typeof(Image)]" />
0 commit comments