## Service Injection

The layout service is automatically injected into all layout templates, and you can access it as `FlexiLayout`. If you would like to use it elsewhere, you can always inject it manually. For example, in a component:

ο»Ώ

## Layout Booleans

Layout booleans are available for use in any layout template. They will be of the format `is{breakpointName}` For instance, for the mobile breakpoint, you can include:

ο»Ώ

There are also `isAtLeast` variants of these booleans. If you wanted to conditionally render something from tablet breakpoint up, you could do:

ο»Ώ

## Events

The layout service now uses `Evented` and triggers events you can subscribe to when width or height change.

The available events are:

  • `width-change`

  • `height-change`

  • `resize`

ο»Ώ

ο»Ώ