Skip to content

Fix markdown headers #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can find the source code for this demo on branch "gh-pages".

Also see the changelog [here](https://github.com/kamilkp/angular-sortable-view/blob/master/CHANGELOG.md)

###DESCRIPTION:
### DESCRIPTION:

This is a simple library written as a module for [AngularJS](https://github.com/angular/angular.js) for sorting elements in the UI. It supports both single elements list, and multiple connected lists, where an element can be moved from one to another.

Expand Down Expand Up @@ -51,7 +51,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
* `sv-helper` - the element with this attribute will serve as a custom helper for sorting operations
* `sv-placeholder` - the element with this attribute will serve as a custom placeholder for sorting operations

###Example of single sortable list
### Example of single sortable list

```html
<div sv-root sv-part="modelArray">
Expand All @@ -61,7 +61,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of multiple sortable lists with common ancestor
### Example of multiple sortable lists with common ancestor

```html
<div sv-root>
Expand All @@ -78,7 +78,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of multiple sortable lists without common ancestor
### Example of multiple sortable lists without common ancestor

```html
<div>
Expand All @@ -95,7 +95,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of using handles
### Example of using handles

```html
<div sv-root sv-part="modelArray">
Expand All @@ -106,7 +106,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of using custom helpers per part
### Example of using custom helpers per part

```html
<div sv-root sv-part="modelArray">
Expand All @@ -119,7 +119,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of using custom helpers per element
### Example of using custom helpers per element

```html
<div sv-root sv-part="modelArray">
Expand All @@ -132,7 +132,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of using custom placeholders per part
### Example of using custom placeholders per part

```html
<div sv-root sv-part="modelArray">
Expand All @@ -145,7 +145,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of using custom placeholders per element
### Example of using custom placeholders per element

```html
<div sv-root sv-part="modelArray">
Expand All @@ -158,7 +158,7 @@ The API is declarative. There are four directives (hooked on attributes) that ne
</div>
```

###Example of sorting with images
### Example of sorting with images
_Because images are draggable by default the browser will trigger the default behavior of showing an image's ghost on a drag event rather than the mousedown event listener relied on by this module, disabling that drag behavior leaves the element free to move immediately._

```html
Expand Down