diff options
author | isteven <isteven@server.fake> | 2014-03-28 09:43:52 +0800 |
---|---|---|
committer | isteven <isteven@server.fake> | 2014-03-28 09:43:52 +0800 |
commit | c50f0fef14ef53b2e9c2af706f2a9d1e15b28c34 (patch) | |
tree | 661da6fc51dc74266fe3e48c903067f027b47455 | |
parent | ccbbf987f61218ba5d15730fb4c3b61dbc0e9cc7 (diff) | |
download | angular-multi-select-c50f0fef14ef53b2e9c2af706f2a9d1e15b28c34.zip angular-multi-select-c50f0fef14ef53b2e9c2af706f2a9d1e15b28c34.tar.gz angular-multi-select-c50f0fef14ef53b2e9c2af706f2a9d1e15b28c34.tar.bz2 |
Testing Github page creation
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | angular-multi-select.css | 1 |
2 files changed, 5 insertions, 4 deletions
@@ -41,7 +41,7 @@ Attributes / Options -- Below are the available attributes to configure the multi-select directive: -- #### input-model (REQUIRED) +#### input-model (REQUIRED) $scope variable. Array of objects. <br />Example: <br />$scope.inputList = [ @@ -53,13 +53,13 @@ $scope variable. Array of objects. <br /> { id: 6, firstName: "Clark", lastName: "Kent", selected: true } <br />]; -- #### item-label (REQUIRED) + #### item-label (REQUIRED) input-model property that you want to display on the button & checkboxes. Separate multiple values by space. <br />Example: item-label="firstName lastName" -- #### tick-property (REQUIRED): + #### tick-property (REQUIRED): input-model property with a boolean value that represent the state of a checkbox. <br />For example: - item-ticker is "selected" @@ -70,7 +70,7 @@ input-model property with a boolean value that represent the state of a checkbox <br />If isOn === false, checkbox will not be ticked. -- #### output-model: + #### output-model: A $scope variable. If specified, will list all the selected checkboxes model. - #### orientation ( "vertical" | "horizontal" ) diff --git a/angular-multi-select.css b/angular-multi-select.css index 521604e..8031a0c 100644 --- a/angular-multi-select.css +++ b/angular-multi-select.css @@ -126,3 +126,4 @@ .multiSelect .helperButton + .helperButton { margin-left: 5px; } + |