Skip to content
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

Docs: programatic usage #221

Merged
merged 2 commits into from
Aug 26, 2020

Conversation

renatodeleao
Copy link
Collaborator

Following the discussion, closes #220.

Implementation details

  • adds docs on programatic usage, using scopedSlots as usecase.
  • Includes demo at example/ and codesandbox live example.
  • Side-effect: ran prettier on v-click-outside.js, to ensure I could start dev server for the example/ code

Notes

Changes to the code proposed on #1 were basically sugaring/shortcut imports an as such was dismissed in favour o destructing the methods straight from directive imported object.

side-effect: prettier on v-click-outside directive

otherwise i couldn't run the example server for testing
@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.667% when pulling d05708e on renatodeleao:docs/programatic-usage into b0caa85 on ndelvalle:master.

3 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.667% when pulling d05708e on renatodeleao:docs/programatic-usage into b0caa85 on ndelvalle:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.667% when pulling d05708e on renatodeleao:docs/programatic-usage into b0caa85 on ndelvalle:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.667% when pulling d05708e on renatodeleao:docs/programatic-usage into b0caa85 on ndelvalle:master.

@ndelvalle ndelvalle merged commit e56b509 into ndelvalle:master Aug 26, 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.

Programatic usage via exported functions or/and mixin
3 participants