Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Allow overriding of directive name #50

Merged
merged 1 commit into from
Sep 11, 2018
Merged

Allow overriding of directive name #50

merged 1 commit into from
Sep 11, 2018

Conversation

hailwood
Copy link
Contributor

@hailwood hailwood commented Feb 8, 2018

Allows overriding the directive name, defaulting to bar. E.g.

import Vuebar from 'vuebar';

Vue.use(Vuebar, {
    directive:'custom-scroll'
});
<div v-custom-scroll></div>`

Allows overriding the directive name, defaulting to `bar`. E.g.

```js
import Vuebar from 'vuebar';

Vue.use(Vuebar, {
    directive:'custom-scroll'
});
```

```html
<div v-custom-scroll></div>`
```
@DominikSerafin DominikSerafin merged commit 07f9146 into DominikSerafin:master Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants