File tree Expand file tree Collapse file tree
samples/layouts/tile-manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,13 +106,13 @@ export default class Actions extends React.Component<any, any> {
106106 </ IgrTile >
107107 < IgrTile disableFullscreen disableMaximize >
108108 < h3 slot = "title" > Custom Actions</ h3 >
109- < IgrIconButton id = "customOne" onClick = { this . onCustomOneClick } slot = "actions" variant = "flat" collection = "material" exportparts = "icon" name = "north_east"
109+ < IgrIconButton id = "customOne" onClick = { this . onCustomOneClick } slot = "actions" variant = "flat" collection = "material" name = "north_east"
110110 aria-label = "north_east" > </ IgrIconButton >
111111 < p > Replace the default actions with custom ones, and include extra actions when the tile is maximized.</ p >
112112 </ IgrTile >
113113 < IgrTile disableFullscreen disableMaximize >
114- < IgrIconButton id = "customTwo" onClick = { this . onCustomTwoClick } slot = "actions" variant = "flat" collection = "material" exportparts = "icon"
115- name = "north_east" > </ IgrIconButton >
114+ < IgrIconButton id = "customTwo" onClick = { this . onCustomTwoClick } slot = "actions" variant = "flat" collection = "material"
115+ name = "north_east" aria-label = "north_east" > </ IgrIconButton >
116116 < p > Display only custom actions in the header.</ p >
117117 </ IgrTile >
118118 < IgrTile disableFullscreen disableMaximize >
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default class Layout extends Component<any, any> {
2626 newTile . position = 0 ;
2727 newTile . append ( contentHeader ) ;
2828 newTile . append ( content ) ;
29- this . tileManagerRef . current . insertBefore ( newTile , this . tileManagerRef . current . tiles . at ( - 1 ) ) ;
29+ ( this . tileManagerRef . current as IgrTileManager ) . appendChild ( newTile ) ;
3030 }
3131
3232 public render ( ) : JSX . Element {
You can’t perform that action at this time.
0 commit comments