new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Electron · API · all subjects

sharemenu/methods

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

new ShareMenu constructor

The ShareMenu constructor takes a single required parameter: sharingItem (SharingItem), which is the item to share.

shareMenu.popup method signature

The popup method displays this menu as a context menu in the BrowserWindow. It accepts an optional options object with the following properties: browserWindow (BrowserWindow, optional, default is the focused window), x (number, optional, default is current mouse cursor position, must be declared if y is declared), y (number, optional, default is current mouse cursor position, must be declared if x is declared), positioningItem (number, optional, macOS only, the index of the menu item to be positioned under the mouse cursor at specified coordinates, default is -1), and callback (Function, optional, called when menu is closed).

shareMenu.closePopup method signature

The closePopup method closes the context menu in the BrowserWindow. It accepts an optional browserWindow parameter (BrowserWindow, default is the focused window).

Give your agent this brain