removeTileAction()

removeTileAction(name: string)

Removes a previously registered custom tile action from the 3-dots menu of the tiles.

In the below example a custom tile action called sendEmail is registered and later removed.

const actionName = 'sendEmail';

const customCallback = () => {
   console.log('Custom logic called');
};

sambaFrame.addTileAction(
   actionName, 
   {"label": 'Send Email', scope: ''}, 
   customCallback
);

//At some point later
sambaFrame.removeTileAction(actionName);

Last updated