Adding ability to set hyperlinks as buttons in extensibility. (#16319)

* Adding option to treat hyperlinks as buttons

* Adding ext host endpoints for is button property in hyperlinks

* Removing isButton flag and plugging in aria role in the hyperlink component

* Removing attribute null check
This commit is contained in:
Aasim Khan
2021-07-20 11:29:38 -07:00
committed by GitHub
parent 3e2bf7b9fa
commit 88fd0cae3b
2 changed files with 2 additions and 1 deletions

View File

@@ -566,6 +566,7 @@ export class DashboardWidget {
const refreshButton = view.modelBuilder.hyperlink().withProps({
label: loc.REFRESH,
url: '',
ariaRole: 'button',
CSSStyles: {
'text-align': 'right',
'font-size': '13px'