Skip to content

Commit 4f8d94a

Browse files
authored
Merge pull request #105614 from yoelhor/patch-27
Update page-layout.md
2 parents ddc9cf7 + 288e341 commit 4f8d94a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/active-directory-b2c/page-layout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: celestedg
99
ms.service: active-directory
1010
ms.workload: identity
1111
ms.topic: reference
12-
ms.date: 02/10/2020
12+
ms.date: 02/26/2020
1313
ms.author: marsma
1414
ms.subservice: B2C
1515
---
@@ -29,7 +29,7 @@ Page layout packages are periodically updated to include fixes and improvements
2929

3030
- All pages
3131
- Accessibility fixes
32-
- You can now add the `data-preload="true"` attribute in your HTML tags to control the load order for CSS and JavaScript.
32+
- You can now add the `data-preload="true"` attribute [in your HTML tags](custom-policy-ui-customization.md#guidelines-for-using-custom-page-content) to control the load order for CSS and JavaScript.
3333
- Load linked CSS files at the same time as your HTML template so it doesn't 'flicker' between loading the files.
3434
- Control the order in which your `script` tags are fetched and executed before the page load.
3535
- Email field is now `type=email` and mobile keyboards will provide the correct suggestions

includes/active-directory-b2c-html-how-to.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: mmacy
33
ms.service: active-directory-b2c
44
ms.subservice: B2C
55
ms.topic: include
6-
ms.date: 02/12/2020
6+
ms.date: 02/26/2020
77
ms.author: marsma
88
---
99
## Use custom page content
@@ -55,7 +55,7 @@ When using your own HTML and CSS files to customize the UI, host your UI content
5555
## Guidelines for using custom page content
5656

5757
- Use an absolute URL when you include external resources like media, CSS, and JavaScript files in your HTML file.
58-
- Add the `data-preload="true"` attribute in your HTML tags to control the load order for CSS and JavaScript. With `data-preload=true`, the page is constructed before being shown to the user. This attribute helps prevent the page from "flickering" by preloading the CSS file, without the un-styled HTML being shown to the user. The following HTML code snippet shows the use of the `data-preload` tag.
58+
- Using [page layout version](../articles/active-directory-b2c/page-layout.md) 1.2.0 and above, you can add the `data-preload="true"` attribute in your HTML tags to control the load order for CSS and JavaScript. With `data-preload=true`, the page is constructed before being shown to the user. This attribute helps prevent the page from "flickering" by preloading the CSS file, without the un-styled HTML being shown to the user. The following HTML code snippet shows the use of the `data-preload` tag.
5959
```HTML
6060
<link href="https://path-to-your-file/sample.css" rel="stylesheet" type="text/css" data-preload="true"/>
6161
```

0 commit comments

Comments
 (0)