Questions tagged [extend]
Cause a unit of code (a class in POO, a style class in CSS ...) to cover a wider area.
extend
1,544
questions
0
votes
0
answers
14
views
Extends or Mixins in Sass?
I use scss in my application. I use these rules quite often.
display: flex;
justify-content: center;
align-items: center;
I want to reuse these styles with mixins or extends. I want to understand ...
0
votes
0
answers
11
views
Join and Cancel - use Include or Extend? [duplicate]
Image here
I have a Use Case Diagram for our Event Management Platform and our group is having a fight. I wonder in these two which is correct:
Cancel EXTENDS Join (in my view, we can choose to ...
1
vote
1
answer
59
views
Overloading Set in Swift
Some background
I am very new to Swift and MacOS and trying to learn the Swift way to do things. This started because I realized that tuples are not hashable so I rolled my own:
struct XY: Hashable
{
...
0
votes
0
answers
22
views
Extend System.Windows.Controls.Button
Is it possible to extend a System.Windows.Controls.Button without creating a custom control?
What I want to do is add a DependencyProperty (ButtonStyle) to a standard button where I can reuse the ...
1
vote
1
answer
36
views
Can props be passed into tailwindcss classes?
What I'm trying to do - create a reusable component that passes values into an extended background image class.
The issue - the background image is not appearing until after I first run the jsx with ...
0
votes
2
answers
43
views
Is there a way to call method from an extended class in a interface default method?
I got like 10 classes that should implement an interface.
Those classes also extend a type of another class, either directly or as subextended class. I cannot change those classes i extend, because ...
1
vote
1
answer
25
views
PHP CURL extended Basic Access Authentication Header
how can I combine ApiKey with Basic Authentication?
The API requires to pass ApiKeyby extending the Basic Auth Headers.
Actualy pass 2 more headers in basic auth (apiVersion & apiKey)
The manual ...
2
votes
0
answers
134
views
Lexical Editor: DecoratorNode in vanilla js
How do you handle decorator node output in vanilla js? It looks like the decorate method of thevDecoratorNode Class is for rendering React components. Is the decorate() method required to extend the ...
0
votes
0
answers
23
views
Does basic Python have any equivalent to extending Django templates?
What I mean is that with Django templates, you can create a quite long file A, have a couple of "block" elements in it that can be extended in other files, and then you can create files B ...
-2
votes
1
answer
69
views
Getting methods from a class that extends another class [closed]
I have a class that extends another class. Depending on a user's input, if the input "A" then the class needs to be a subclassA, but if they input "B" it will be a subclassB. I ...
-1
votes
1
answer
209
views
Extendable card in jetpack compose
How can implement extendable card which extend over layout underneath not move it.
For example compose has card and column underneath. After click on card, extended card must hide column under ...
0
votes
3
answers
292
views
Service in Angular is instantiated twice when extending the service with another service
In my Angular project, I have a setup with multiple services. One service has some functions for which I want to restrict access, so that it can only be used from one specific other service.
To ...
1
vote
2
answers
979
views
How to easily extend Jetpack Compose components?
I want to make a custom implementation of ScrollableTabRow which allows for a composable element to be displayed 'sticky'ly at the right end of the tab row. But I can't figure out a simple way to ...
0
votes
0
answers
25
views
Best way to set up test suit so that test cases can be used across different classes. using Java
I am writing a test suit in selenium using java language. I use the TestNG annotations and Maven repository to manage dependencies, currently using Eclipse and the project is hosted on GitLab. I have ...
1
vote
2
answers
496
views
In Flutter, how to extend the bottom-most widget to the bottom of the screen (when conditionally required) when it is within a SingleChildScrollView?
I am working on my first Flutter app (in Android Studio) and I have wasted many hours trying to accomplish the following (including reading every StackOverflow post and webpage I could find).
My ...