AJAX dropbutton link I have a dropbutton in an admin view. It's currently got links built using URL::fromRoute

I want one of these links/buttons to work asynchronously. 

This is what I currently have:

$dropdownButtons = [
    '#type' =&gt; 'dropbutton',
    '#links' =&gt; [
      'a' =&gt; [
        'title' =&gt; $send_verification_link_text,
        'url' =&gt; $send_verification_email_url,
      ],
      'b' =&gt; [
        'title' =&gt; $this-&gt;t('Remove person'),
        'url' =&gt; $remove_person_url,
      ],
    ],
  ];
I assume these are links to Ajax enabled route yes ?? i hope so lol any way heres is how ... see this example from a list builder:

$parent['operations']['data']['#links']['clone'] = [
  'title' =&gt; $this-&gt;t('AJAX!!!'),
  'weight' =&gt; 2,
  'url' =&gt; Url::fromRoute('someroute_name', ['id' =&gt; $entity-&gt;id]),
  'attributes'=&gt; [
    'class' =&gt; 'use-ajax'
  ]
];


all you need to do is add 
'attributes'=> ['class' => 'use-ajax']
more info see my old comment ... https://api.drupal.org/comment/62725#comment-62725