A directive that gives a component the ability to manage a DaffContainerComponent's layout. By including this directive, predetermined layout styles are passed down to the container.
To understand the motivation for this directive, consider:
<daff-container>
<daff-hero></daff-hero>
</daff-container>
vs.
<daff-hero>
<daff-container></daff-container>
</daff-hero>
The former may inappropriately constrain the width of its child elements,
while the latter (without DaffManageContainerLayoutDirective
) may unexpectedly
interfere in the layout features of its parent element (i.e. display: grid, display: flex).
'[daffManageContainerLayout]'
Name | Type | Description |
---|---|---|
class | true |