ko/ui menulist element
This module inherits methods and properties from the module it extends.
Example
var menulist = require("ko/ui/menulist").create(); menupopup.addMenuItem({ label: "Click me!", command: () => console.log("Hello!") });
- Copyright:
-
- (c) 2017 ActiveState Software Inc.
- License:
-
- Mozilla Public License v. 2.0
Extends
Classes
Methods
-
require("ko/ui/menulist").create( [options])
-
Create a new menupopup UI element
Parameters:
Name Type Argument Description options
object <optional>
An object containing attributes and options
Returns: