Sorry, we don't support your browser.  Install a modern browser

Panel Menu with Attributes like Target Blank

The ability to freely define the panel menu on the left-hand side is great. For some applications, however, it would be great if you could, for example, open the links in a new window. I think this should, at least in my eyes, not be a huge problem to implement.

Example:

return [
  'panel' => [
    'menu' => [
      'site'
      'notes' => [
        'icon'  => 'pen',
        'label' => 'External Link',
        'link'  => 'https://example.com',
        'target'  => '_blank',
      ]
    ]
  ]
];

Or alternatively as another array:

return [
  'panel' => [
    'menu' => [
      'site'
      'notes' => [
        'icon'  => 'pen',
        'label' => 'External Link',
        'link'  => 'https://example.com',
        'attributes'  => [
          'target' => '_blank',
          'title' => 'Custom'
        ]
      ]
    ]
  ]
];
a month ago