this module is meant to be "mostly" backwards compatible with jquery
require("ko/dom")(query, parent)
Example
var $ = require("ko/dom"); $(".foo").text("bar");
Parameters:
Name | Type | Description |
---|---|---|
query |
string | CSS query to use as the selector |
parent |
element | The parent element (can be the window) |