#import"Person+Test.h"@implementationPerson(Test)-(void)eat{NSLog(@"eat");}-(void)sleep{NSLog(@"sleep");}+(void)run{NSLog(@"run");}+(void)walk{NSLog(@"walk");}@end 代码语言:javascript 代码运行次数:0 运行 AI代码解释 // Perso
An extension can also be a package of other extensions (for example, ModelExtension). After an extension is defined, it can be registered in the scriptframework.properties file to be used in a specific JavaScript context. Use the Update Property page from the Appliance Dashboard of the IBM ...
After an extension is defined, it can be registered in theIM_HOME/data/scriptframework.propertiesfile to be used in a specific JavaScript context. In some cases, an environment needs to be created for an extension. After an extension is defined, it can be registered in thescriptframework.prop...
PHP extension for V8 JavaScript engine This extension requires PHP >= 7.2. Last version that supports PHP 7.1 is v0.2.2 and for PHP 7.0 is v0.1.9. This extension is still under heavy development and its public API may change without any warning. Use at your own risk. ...
option={// load amap componentamap:{// enable 3D mode// Note that it's suggested to enable 3D mode to improve echarts rendering.viewMode:'3D',// initial options of AMap// See https://lbs.amap.com/api/javascript-api/reference/map#MapOption for details// initial map center [lng, lat...
代码语言:javascript 代码运行次数:0 运行 AI代码解释 { "manifest_version": 2, "name": "One-click Kittens", "description": "This extension demonstrates a browser action with kittens.", "version": "1.0", "permissions": [ "https://secure.flickr.com/" ], "browser_action": { "default_icon...
PrimaryCommandSurface (适用于 Word、Excel、PowerPoint 和 OneNote) - Office 中的功能区。 ContextMenu (适用于 Word、Excel、PowerPoint 和 OneNote) - 在 Office UI 中右键单击 (或选择并按住) 时显示的快捷菜单。 CustomFunctions (仅适用于 Excel) - 用 JavaScript for Excel 编写的自定义函数。
var ExtensionPreprocessingJS = new MyExtensionJavaScriptClass; On both platforms, you need to write code to handle the values that get passed back from your run() function. To get the dictionary of results, specify the kUTTypePropertyList type identifier in the NSItemProvider method loadItem...
As for JavaScript, there are many optional packaging tools. This section mainly demonstrates the use of jszip for packaging. Install the jszip first npm install jszip Then, create build.js in your extension directory var JSZip = require('jszip'); var fs = require('fs'); var path =...
Method one: Add the following code to the JavaScript file: importVirtualBackgroundExtensionfrom"agora-extension-virtual-background"; Method two: Use the Script tag in the HTML file. Once imported, the VirtualBackgroundExtension object can be used directly in JavaScript files. ...