Skip to content

Commit

Permalink
Fix broken Markdown headings
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 committed Apr 17, 2017
1 parent 5198515 commit d44f27f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Angular-DragDrop
# Angular-DragDrop
[![npm version](http://img.shields.io/npm/v/angular-native-dragdrop.svg?style=flat)](https://npmjs.org/package/angular-native-dragdrop)
[![Build status](http://img.shields.io/travis/angular-dragdrop/angular-dragdrop.svg?style=flat)](https://travis-ci.org/angular-dragdrop/angular-dragdrop)
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/ganarajpr/angular-dragdrop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Expand All @@ -19,7 +19,7 @@ Pull requests are welcome.

[Documentation](http://angular-dragdrop.github.io/angular-dragdrop/)

#Looking for Active Contributors.
# Looking for Active Contributors.

This repo needs active contributers and maintainers. If you are interested in being one of the people who would like to actively maintain this repo, please let me know.

Expand Down
6 changes: 3 additions & 3 deletions docs/examples.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#Examples
# Examples

##Simple Usage
## Simple Usage
<iframe style="width: 100%; height: 500px" src="http://embed.plnkr.co/5RLvCpDPoRcEk6u77dBM" frameborder="0" allowfullscreen="allowfullscreen"></iframe>


##With drop validation
## With drop validation
<iframe style="width: 100%; height: 500px" src="http://embed.plnkr.co/xRmz4TlCvlJKxybGrhQH" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
14 changes: 7 additions & 7 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#Installation
# Installation

##Download
## Download
Download the file [**draganddrop.min.js**](https://raw.githubusercontent.com/angular-dragdrop/angular-dragdrop/master/draganddrop.min.js) or [**draganddrop.js**](https://raw.githubusercontent.com/angular-dragdrop/angular-dragdrop/master/draganddrop.js).

##Bower
## Bower

You can also install via Bower using

`bower install angular-native-dragdrop --save`

---

#Usage
# Usage

##Step - 1 **Add script**
## Step - 1 **Add script**
```
<script src="path/to/draganddrop.min.js"></script>
```

##Step - 2 **Include in app**
## Step - 2 **Include in app**
```
myApp = angular.module('myApp','ang-drag-drop');
```

##Step - 3 ***Profit!!***
## Step - 3 ***Profit!!***
34 changes: 17 additions & 17 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@

---

##ui-draggable(expression)
## ui-draggable(expression)

Directive in module ang-drag-drop (since 1.0.5 - old module name ngDragDrop)

The ui-draggable attribute tells Angular that the element is draggable. ui-draggable takes an expression as the attribute value. The expression should evaluate to either true or false. You can toggle the draggability of an element using this expression.

###Additional Attributes
### Additional Attributes

####_**drag**_(variable)
#### _**drag**_(variable)

The class used to mark child elements of draggable object to be used as drag handle. Default class name is `drag-handle`

**NOTE**: If attribute is not present drag handle feature is not active.



####_**drag-handle-class**_(string)
#### _**drag-handle-class**_(string)

The `drag` property is used to assign the data that needs to be passed along with the dragging element.




####_**on-drop-success**_(function)
#### _**on-drop-success**_(function)

The `on-drop-success` attribute takes a function. We can consider this to be an on-drop-success handler function. This can be useful if you need to do some post processing after the dragged element is dropped successfully on the drop site.

Expand All @@ -35,7 +35,7 @@ You can request the `drag-end` event ( very similiar to requesting the click eve



####_**on-drop-failure**_(function)
#### _**on-drop-failure**_(function)

The `on-drop-failure` attribute takes a function. We can consider this to be an on-drop-failure handler function. This can be useful if you need to do some post processing after the dragged element is dropped unsuccessfully on any drop site.

Expand All @@ -44,7 +44,7 @@ You can request the `drag-end` event ( very similiar to requesting the click eve



####_**drag-channel**_(string)
#### _**drag-channel**_(string)

The `on-drop-failure` attribute takes a function. We can consider this to be an on-drop-failure handler function. This can be useful if you need to do some post processing after the dragged element is dropped unsuccessfully on any drop site.

Expand All @@ -53,11 +53,11 @@ You can request the `drag-end` event ( very similiar to requesting the click eve



###Usage
### Usage



###Events
### Events

On start of dragging an Angular Event `ANGULAR_DRAG_START` is dispatched from the `$rootScope`. The event also carries carries the information about the channel in which the dragging has started.

Expand All @@ -67,7 +67,7 @@ When hovering a draggable element on top of a drop area an Angular Event `ANGULA

---

##ui-on-drop(expression)
## ui-on-drop(expression)

Directive in module ang-drag-drop (since 1.0.5 - old module name ngDragDrop)

Expand All @@ -76,17 +76,17 @@ The `ui-on-drop` attribute tells Angular that the element is a drop site. `ui-on
**NOTE** : This callback function is only called when the drop succeeds.
The `ui-on-drop` callback can request additional parameters. The data that is dragged is available to the callback as $data and its channel as `$channel`. Apart from this the drop event is exposed as `$event`.

###Additional Attributes
### Additional Attributes

####_**drop-channel**_(variable)
#### _**drop-channel**_(variable)

The channel that the drop site accepts. The dragged element should have the same channel as this drop site for it to be droppable at this location. It is possible to provide comma separated list of channels.

**NOTE**: Also special value of `drag-channel` attribute is available to accept dragged element with any channel value — *



####_**drop-validate**_(function)
#### _**drop-validate**_(function)

Extra validation that makes sure that the drop site accepts the dragged element beyond having the same channel. If not defined, no extra validation is made.

Expand All @@ -95,23 +95,23 @@ Extra validation that makes sure that the drop site accepts the dragged element



####_**drag-enter-class**_(string)
#### _**drag-enter-class**_(string)

The class that will be added to the the droppable element when a dragged element ( which is droppable ) enters the drop location. The default value for this is `on-drag-enter`



####_**drag-hover-class**_(string)
#### _**drag-hover-class**_(string)

The class that will be added to the drop area element when hovering with an element. The default value for this is `on-drag-hover`



###Usage
### Usage



###Events
### Events

On start of dragging an Angular Event `ANGULAR_DRAG_START` is dispatched from the `$rootScope`. The event also carries carries the information about the channel in which the dragging has started.

Expand Down

0 comments on commit d44f27f

Please sign in to comment.