Module: ko/ui/container

ko/ui container element

This module inherits methods and properties from the module it extends.

Example

var container = require("ko/ui/container").create();
container.addRow(require("ko/ui/button").create({ label: "Click me!", command: () => console.log("Hello!") }));
Author:
  • NathanR, CareyH
License:
  • Mozilla Public License v. 2.0

Extends

Classes

Model()

Methods


require("ko/ui/container").create( [options])

Create a new container UI element

Parameters:
Name Type Argument Description
options object <optional>

An object containing attributes and options

Returns:
Type
module:ko/ui/container~Model