Menu
Pinkesh's Notes
  • Home
  • Crossword
  • Technology
  • Site Map
  • Contact Me
  • About Me
Pinkesh's Notes

Author: jainpinkesh

VueJS: Call child component’s method from a parent

Posted on August 15, 2019August 19, 2019 by jainpinkesh

Put ref=”childComponent” on the child component’s instance in the parent component and access it from that ref’s method like this: <childcomponent ref=”childComponent” /> var self=this; self.$refs.chldComponent.<method>

+

VueJS: Unknown custom element

Posted on August 15, 2019August 15, 2019 by jainpinkesh

Unknown custom element: – did you register the component correctly? For recursive components, make sure to provide the “name” option. When declaring child component in the components section of the export in the parent component, explicitly specify the name like this: export { components :{ myComponent: MyComponent }, data(){ return {}; }

+

VueJS: Pass data from child component to parent component.

Posted on August 15, 2019August 15, 2019 by jainpinkesh

Create prop in child component: props: { childDataProp: { type: Array, default () => []}} Create a data variable: data(){ return {childData:[]};} Populate value for the data variable created above. childData = [1,2,3,4,5]; Use $emit to expose an event as the first argument and data as the second argument: this.$emit(‘eventName’,childData); In Parent Component: a. In…

+

Economics – 12th HSC

Posted on January 17, 2019January 17, 2019 by jainpinkesh

Economics Economics Pinkesh Jain Welcome! Click a word in the puzzle to get started.   Solve OK   Cancel Congratulations! You have completed this crossword puzzle. Check puzzle

+

Thoughts and It’s effects

Posted on January 7, 2019 by jainpinkesh

I recently read a classic book “As A Man Thinketh” by James Allen. The ideas in this book are so simple that anyone can relate to this book. The particular section that caught my attention and got me thinking is how one’s thoughts have effects on his conditions. It says that the thoughts transforms into…

+

Aadhar card: A digital revolution or an Environmental nightmare

Posted on January 5, 2019January 5, 2019 by jainpinkesh

Aadhar Card: So, this morning, I was in the process of opening a bank account. The great thing about India is the bank associates come to your home and collect all the documents. Having a printer/scanner/copier comes in very handy as you can just get a copy and give it to the associate. While opening…

+

Millions of dollars over 6 ounces of air pressure!

Posted on January 5, 2019November 29, 2019 by jainpinkesh

I do not doubt that Brady told his equipment managers that he likes them on the softer side, but that is a FAR CRY from telling them that he wanted them UNDER LEGAL PSI. The equipment managers MAY have gotten some balls under the limit, but that is a FAR CRY from intentionally under-inflating below…

+

HICKERY – xcopy Command

Posted on January 4, 2019January 5, 2019 by jainpinkesh

Tired of all the prompts while copying files? Here is a better/efficient way to copy files around. This command is especially helpful when copying tens of gigabytes of files, for example backing up your c drive into an external hard drive. Here we have some files in the source folder: You can use the following…

+

Astrology – a pseudoscience

Posted on January 3, 2019January 5, 2019 by jainpinkesh

Inspect every piece of pseudoscience and you will find a security blanket, a thumb to suck, a skirt to hold. What have we to offer in exchange? Uncertainty! Insecurity! -Isaac Asimov in the issue of The Skeptical Inquirer The term pseudoscience means “a collection of beliefs or practices mistakenly regarded as being based on scientific…

+

Recent Posts

  • VueJS: Call child component’s method from a parent
  • VueJS: Unknown custom element
  • VueJS: Pass data from child component to parent component.
  • Economics – 12th HSC
  • Thoughts and It’s effects

Categories

  • Crossword
  • General
  • Technology


©2025 Pinkesh's Notes | WordPress Theme by Superb Themes