Is there a way to bind the adf-webscript-get component into a button that is in a dropdown? Because right now the calling of the webscript is happening on page reload, and what I want to do is run that when the button is clicked. Cheers!
<adf-sidebar-action-menu>
<mat-icon sidebar-menu-title-icon>arrow_drop_down</mat-icon>
<div sidebar-menu-expand-icon>
<mat-icon>add</mat-icon>
<span>Create...</span>
</div>
<div sidebar-menu-options>
<button met-menu-item
[adf-create-folder]="getDocumentListCurrentFolderId()"
(success)="onFolderCreate($event)"
title="Create New Folder">
<mat-icon>folder</mat-icon>
<span>Folder</span>
</button>
<button mat-menu-item>
<adf-webscript-get
[contextRoot]="alfresco"
[servicePath]="service"
[scriptPath]="'googledocs/createContent?contenttype=document&parent=workspace://SpacesStore/8f2105b4-daaf-4874-9e8a-2152569d109b'"
[contentType]="HTML">
</adf-webscript-get>
<span>Google Docs Document...</span>
</button>
</div>
</adf-sidebar-action-menu>