tags:

  • Codeblock
  • Layout

Max Height

```ts {2|3|7|12}{maxHeight:'100px'}
function add(
  a: Ref<number> | number,
  b: Ref<number> | number
) {
  return computed(() => unref(a) + unref(b))
}
/// ...as many lines as you want
const c = add(1, 2)
```
```ts {*}{maxHeight:'100px'}
// ...
```