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
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,9 +106,11 @@ Add the `<row-actions>` component inside a `mat-cell`:
106
106
107
107
### Position Behavior
108
108
109
-
The toolbar automatically detects its position within the cell:
110
-
-**First child** in cell: Toolbar appears from the **left**
111
-
-**Last child** in cell: Toolbar appears from the **right**
109
+
The toolbar automatically detects its position within the cell and animates accordingly:
110
+
-**First child** in cell → Toolbar appears from the **left**
111
+
-**Last child** in cell → Toolbar appears from the **right**
112
+
113
+
You can place `<row-actions>` in **any cell** of your table, not just a dedicated "actions" column. This allows you to add contextual actions to specific data columns.
Copy file name to clipboardExpand all lines: projects/demo/src/app/app.component.html
+39-3Lines changed: 39 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ <h2>Demo</h2>
68
68
</div>
69
69
70
70
<!-- Demo Table -->
71
-
<pclass="demo-hint">Hover over a row to see the actions appear</p>
71
+
<pclass="demo-hint">Hover over a row to see the actions appear. Notice how the toolbar appears from the <strong>left</strong> on the Name column and from the <strong>right</strong> on Email and Actions columns, depending on the position of <code><row-actions></code> within the cell.</p>
<p>The toolbar automatically detects its position within the cell and animates accordingly:</p>
210
+
<ulclass="feature-list">
211
+
<li><strong>First child</strong> in cell → Toolbar appears from the <strong>left</strong></li>
212
+
<li><strong>Last child</strong> in cell → Toolbar appears from the <strong>right</strong></li>
213
+
</ul>
214
+
<p>You can place <code><row-actions></code> in any cell of your table, not just a dedicated "actions" column. This allows you to add contextual actions to specific data columns.</p>
215
+
<prengNonBindable><codeclass="language-html"><!-- Toolbar from LEFT -->
0 commit comments