parent Questions

3

I just want to know how to call a parent function from a child component. I've tried to use the $parent to call the parent method, but I get this error TypeError: _this.$parent.forceRender is not ...
Idiographic asked 13/11, 2020 at 21:4

5

I have a table with checkboxes looking like this: <td class="table-col" > <div class="group-one" > <input type="checkbox" /> </div> </td> What I want to do is wh...
Headspring asked 22/1, 2013 at 21:15

2

Solved

Let's say, I have a custom button widget and I want to set the state of it's parent using setState. How exactly can I access the parent widget's state from my custom button? Is it even possibile?
Disband asked 29/8, 2018 at 17:18

7

Solved

I am creating a popup window that goes to hello.html. I want my original (parent page) to reload when i close the popup window (hello.html). I can't seem to get it to work, but I'm close. Here is t...
Reciprocity asked 9/7, 2012 at 15:34

9

I have a certain element that I can select with Selenium 1. Unfortunately I need to click the parent element to get the desired behaviour. The element I can easily locate has attribute unselectabl...
Immigration asked 20/12, 2011 at 15:18

4

Solved

How do you emit event inside recursive child components vuejs Taking the tree example from vue site https://v2.vuejs.org/v2/examples/tree-view.html How would you transmit on click to the parent eac...
Psychodynamics asked 14/9, 2017 at 13:16

5

Solved

How to access "myvar" from "child" in this code example: class Parent(): def __init__(self): self.myvar = 1 class Child(Parent): def __init__(self): Parent.__init__(self) # this won't work ...
Trieste asked 6/6, 2012 at 6:15

7

Solved

Here's what I am trying to accomplish... "parent" has position:relative "div 1-3" have position:absolute However, whenever I do this, I find myself having to assign specific "top" values in my...
Etymologize asked 10/10, 2013 at 0:12

3

I develop a SPA application and I wish place table in parent element bounds but I can't set explicit height. I can set scroll.y of table body but then result total height is large by header height....
Renewal asked 15/6, 2018 at 7:16

2

Solved

I'm aware of the following to grab a Gem's specification for interrogation: spec = Gem::Specification.find_by_name('my_gem') Is there a way to programmatically identify "this" gem's name such th...
Tracheo asked 13/12, 2012 at 12:11

4

Process A fork()s process B. Process A dies and therefore init adopts B. A watchdog creates process C. Is it somehow possible for C to adopt B from init? Update: Or would it even be possible...
Dextral asked 9/5, 2012 at 16:5

3

Currently, I'm working on a project which shares a Menu component across all pages except two pages. I added the menu component inside root _layout.svelte file. Now since two pages that don't need ...
Cryobiology asked 3/11, 2019 at 8:9

5

Solved

I'm working on a graphical model project with python using NetworkX. NetworkX provides simple and good functionality using dictionaries: import networkx as nx G = nx.DiGraph() # a directed graph G...
Garnettgarnette asked 28/9, 2010 at 8:2

6

parent.py: class A(object): def methodA(self): print("in methodA") child.py: from parent import A class B(A): def methodb(self): print("am in methodb") Is there anyway to call methodb() i...
Milly asked 31/7, 2014 at 14:52

7

Solved

there is a check I need to perform after each subsequent step in a function, so I wanted to define that step as a function within a function. >>> def gs(a,b): ... def ry(): ... if a==b: ....
Capon asked 13/1, 2009 at 17:59

3

Solved

Quick question which is mostly explained by the code. Is this possible in CSS or do I have to just implement all the classes in the html? .class1{ color:red; } .class2{ text-decoration:underli...
Assailant asked 4/6, 2014 at 11:23

5

Solved

I need to know if there is a way to access parent modules from submodules. If I import submodule: from subprocess import types I have types - is there some Python magic to get access to subproce...
Umeh asked 12/3, 2011 at 23:11

1

Solved

I have an app that pulls data from a GraphQL database and then .maps it into custom form components (quantity number textboxes). Right now, the components themselves are holding state of their indi...
Hateful asked 26/8, 2022 at 5:45

9

Solved

class A { private $aa; protected $bb = 'parent bb'; function __construct($arg) { //do something.. } private function parentmethod($arg2) { //do something.. } } class B extends A { fun...
Dixon asked 23/6, 2011 at 15:49

9

Solved

Consider the following HTML/css code sample: <div id="container"> <div id="up">Text<br />Text<br />Text<br /></div> <div id="down&q...
Venenose asked 27/6, 2012 at 12:13

7

Solved

parent.php: require_once 'child.php'; child.php: echo __FILE__; It will show '.../child.php' How can i get '.../parent.php'
Tameka asked 23/8, 2009 at 13:52

16

Solved

I have 2 activities (A and B) in my android application and I use an intent to get from activity A to activity B. The use of parent_activity is enabled: <activity android:name=".B" ...
Crave asked 5/9, 2012 at 6:55

9

Solved

I don't know if there is an issue, but I was wondering why the overflow:hidden does not function on fixed parent/children element. Here's an example: CSS and HTML: .parent{ position:fixed;...
Barto asked 17/9, 2012 at 16:40

7

Solved

I was looking a lot for method to get parent process in .NET, but found only P/Invoke way.
Blue asked 27/12, 2008 at 8:48

4

Solved

I'm writing a batch file, I need to get the parent folder of this bat file. Is it possibile? NB I mean the parent folder of the batch file not of the current directory of the prompt calling that ba...
Levee asked 18/5, 2013 at 11:31

© 2022 - 2025 — McMap. All rights reserved.