Module: ko/ui/caption

ko/ui caption element

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

Example

var caption = require("ko/ui/caption").create();
caption.value("Eh yo eh, what's goin on?  Badaboom badabing.");
Author:
  • NathanR, CareyH
License:
  • Mozilla Public License v. 2.0

Extends

Classes

Model()

Methods


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

Create a new caption UI element

Parameters:
Name Type Argument Description
options object <optional>

An object containing attributes and options

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