<commit_before># knockout.lock


A simple knockout binding to enable / disable input elements.


## Installation

Install with ```bower```:

    bower install knockout.lock

## Usage

```html
<div data-bind="lock: true">
    <!-- These inputs will be locked -->
    <input type="text"/>
    <input type="button" value="Update">
    
    <!-- Don't disable this input -->
    <input text="true" data-lock-exclude="true"/>
    
    <!-- Don't disable any inputs within this container -->
    <div data-lock-exclude="true">
        <input type="text"/>
    </div><commit_msg>Updated badge for Travis CI<commit_after># knockout.lock


A simple knockout binding to enable / disable input elements.

[![Build Status](https://travis-ci.org/CrissDev/knockout.lock.svg?branch=master)](https://travis-ci.org/CrissDev/knockout.lock)


## Installation

Install with ```bower```:

    bower install knockout.lock

## Usage

```html
<div data-bind="lock: true">
    <!-- These inputs will be locked -->
    <input type="text"/>
    <input type="button" value="Update">
    
    <!-- Don't disable this input -->
    <input text="true" data-lock-exclude="true"/>
    
    <!-- Don't disable any inputs within this container -->
    <div data-lock-exclude="true">
        <input type="text"/>
    </div>
{'fraction_non_alphanumeric': 0.16627816627816627, 'fraction_numerical': 0.0, 'mean_word_length': 3.0630914826498423, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3239963', 'n_tokens_mistral': 407, 'n_tokens_neox': 378, 'n_words': 109}