You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-5
Original file line number
Diff line number
Diff line change
@@ -31,17 +31,25 @@ The code snippets below show how to load the ArcGIS API and its modules and then
31
31
32
32
### Loading Styles
33
33
34
-
Before you can use the ArcGIS API in your app, you'll need to load the styles. For example, if you're using the latest 4.x version (the default):
34
+
Before you can use the ArcGIS API in your app, you'll need to load the styles that correspond to the version you are using. You can use the provided `loadCss(url)` function. For example:
Alternatively, you can manually load them by more traditional means such as adding `<link>` tags to your HTML, or `@import` statements to your CSS. For example:
42
+
43
+
```html
44
+
<!-- load esri styles for version 4.6 via a link tag -->
0 commit comments