Questions tagged [containment]

94 questions
0
votes
1 answer

Can't drag div if have total height of containment

I have a div with the follow css: .azul{ height:100%; width:100px; position:absolute; left:0px; top:0px; background-color:blue; } The 100% height is the same height of the container. I bind the "dragstart" to a function. that…
ruudy
  • 491
  • 2
  • 8
  • 21
0
votes
0 answers

JQuery Resizable function only works for part of the selector

I am trying to use the JQuery resizable on an overlay that sits above a table. The code below creates a div as an absolute positioned overlay that is resizeable and draggable between columns. The code works fine. However, when I add 'containment'…
Greg.Forbes
  • 2,634
  • 4
  • 26
  • 29
-1
votes
1 answer

How to provide an argument to a view controller in containment?

I'm trying to pass an argument to a view controller in containment: let childVC = ChildViewController() addChild(childVC) childVC.view.frame = frame view.addSubview(childVC.view) childVC.didMove(toParent: self) ChildViewController has multiple…
Kevvv
  • 3,655
  • 10
  • 44
  • 90
-1
votes
1 answer

Private Inheritance or Containment

I have a base class with several public methods and want to derive a child class which inherits only certain functions, so I derived the child class using private inheritance. Also I vave come across several times (including C++ primer plus) that…
itachi
  • 192
  • 2
  • 10
1 2 3 4 5 6
7