Module: ko/ui/label

ko/ui label element

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

Example

var label = require("ko/ui/label").create();
label.value("I really like labels.")
Author:
  • NathanR, CareyH
License:
  • Mozilla Public License v. 2.0

Extends

Classes

Model()

Methods


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

Create a new label UI element

Parameters:
Name Type Argument Description
options object <optional>

An object containing attributes and options

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