« All deprecation guides

Deprecation Guide for LinkTo @disabled-when argument

until: 4.0.0
id: ember.link-to.disabled-when

Passing @disabled-when argument to <LinkTo> component has been deprecated. You can use @disabled instead.

Before:

<LinkTo @route='photoGallery' @disabled-when={{true}}>
  Great Dragon Photos
</LinkTo>

After:

<LinkTo @route='photoGallery' @disabled={{true}}>
  Great Dragon Photos
</LinkTo>