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
feat(docs-infra): simplify image styles and remove figure references (angular#33748)
Reference angular#33259
Removes figures elements as AIO is not typically using captions or image groups where figures would be necessary or appropriate
PR Closeangular#33748
Copy file name to clipboardExpand all lines: aio/content/guide/animations.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,11 +69,9 @@ Let's animate a simple transition that changes a single HTML element from one st
69
69
70
70
In HTML, these attributes are set using ordinary CSS styles such as color and opacity. In Angular, use the `style()` function to specify a set of CSS styles for use with animations. You can collect a set of styles in an animation state, and give the state a name, such as `open` or `closed`.
71
71
72
-
<figureclass="lightbox">
73
-
<divclass="card">
74
-
<img src="generated/images/guide/animations/open-closed.png" alt="open and closed states">
75
-
</div>
76
-
</figure>
72
+
<divclass="lightbox">
73
+
<imgsrc="generated/images/guide/animations/open-closed.png"alt="open and closed states">
74
+
</div>
77
75
78
76
### Animation state and styles
79
77
@@ -168,11 +166,9 @@ The `trigger()` function describes the property name to watch for changes. When
168
166
169
167
In this example, we'll name the trigger `openClose`, and attach it to the `button` element. The trigger describes the open and closed states, and the timings for the two transitions.
170
168
171
-
<figureclass="lightbox">
172
-
<divclass="card">
173
-
<img src="generated/images/guide/animations/triggering-the-animation.png" alt="triggering the animation">
174
-
</div>
175
-
</figure>
169
+
<divclass="lightbox">
170
+
<imgsrc="generated/images/guide/animations/triggering-the-animation.png"alt="triggering the animation">
Copy file name to clipboardExpand all lines: aio/content/guide/architecture-components.md
+12-20Lines changed: 12 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,9 @@ You define a component's view with its companion template. A template is a form
51
51
52
52
Views are typically arranged hierarchically, allowing you to modify or show and hide entire UI sections or pages as a unit. The template immediately associated with a component defines that component's *host view*. The component can also define a *view hierarchy*, which contains *embedded views*, hosted by other components.
A view hierarchy can include views from components in the same NgModule, but it also can (and often does) include views from components that are defined in different NgModules.
61
59
@@ -83,11 +81,9 @@ Angular supports *two-way data binding*, a mechanism for coordinating the parts
83
81
84
82
The following diagram shows the four forms of data binding markup. Each form has a direction: to the DOM, from the DOM, or both.
Data binding plays an important role in communication between a template and its component, and is also important for communication between parent and child components.
Copy file name to clipboardExpand all lines: aio/content/guide/architecture-modules.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,21 +35,17 @@ Here's a simple root NgModule definition.
35
35
36
36
NgModules provide a *compilation context* for their components. A root NgModule always has a root component that is created during bootstrap, but any NgModule can include any number of additional components, which can be loaded through the router or created through the template. The components that belong to an NgModule share a compilation context.
A component and its template together define a *view*. A component can contain a *view hierarchy*, which allows you to define arbitrarily complex areas of the screen that can be created, modified, and destroyed as a unit. A view hierarchy can mix views defined in components that belong to different NgModules. This is often the case, especially for UI libraries.
0 commit comments