Skip to content

add simple directive and test #110

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

Closed
wants to merge 3 commits into from

Conversation

chiptus
Copy link
Contributor

@chiptus chiptus commented Nov 4, 2019

fixes #108

import {value as valueDirective} from './components/directives/v-value'
import CompWithDirective from './components/CompWithDirective.vue'

test('element should have the same value as the directive', async () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel the example is a bit "wordy" (it says value a lot 😝).

I think it would be best if we used a simpler example with a clearer directive. Also I'd love to avoid using updateProps, as it has actually nothing to do with directives, and people may get the wrong impression.

What do you think about that?

@afontcu afontcu closed this in #111 Nov 4, 2019
@chiptus
Copy link
Contributor Author

chiptus commented Nov 4, 2019

this was closed because I referenced it in #111, I'll fix the issues and reopen

@afontcu afontcu reopened this Nov 6, 2019
@afontcu
Copy link
Member

afontcu commented Jan 3, 2020

Hi @chiptus! Any chance you could take a look at this? 😄

have a happy new year!

@chiptus
Copy link
Contributor Author

chiptus commented Jan 3, 2020

will do

@afontcu
Copy link
Member

afontcu commented Feb 22, 2020

Fixed in #120. Thanks for this, though! 😃

@afontcu afontcu closed this Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add example for using directives
2 participants