custom-component Questions
8
Solved
I'm following this medium article to use FloatingTitleTextInputField in my react-native project
below is my project structure
Here is my code for HomeScreen.js
import React, {Component} from '...
Pantile asked 24/9, 2019 at 12:28
9
Solved
As stated in the title, I copied my DLL in Visual Studio project, set it to "content" and "copy always". Added a reference to this DLL and set it to "copy locally".
I successfully managed to insta...
Epineurium asked 7/1, 2011 at 0:53
2
Solved
In my Android project I have a couple of custom components that use custom attributes.
The attrs.xml file looks like this:
<?xml version="1.0" encoding="utf-8"?>
<resources >
<dec...
Colugo asked 4/5, 2015 at 20:4
9
Solved
I am creating a custom fragment dialog with round corners and with layout that would not fill the screen width (I would prefer if it just wrapped its content).
this is my rounded_dialog.xml in dra...
Outclass asked 14/3, 2013 at 22:18
1
I'm using Vue3 with the composition API. In a form-component I put ref's on each field (child-component).
For some reason the ref's of the custom components are different from ref's for Quasar comp...
Ruffian asked 9/2, 2022 at 15:32
1
Solved
I'm working on some custom components and I'm wondering if it's best practice to load the styles in style tags within the template or use a link tag (rel="stylesheet") to call the styles?...
Uprear asked 22/7, 2021 at 15:29
6
(Note: I'm using Expo for this app)
I'm attempting to render a FlatList that displays a list of printers. Here's the code:
<FlatList
data={printers}
keyExtractor={printer => printer.id}
...
Cragsman asked 1/11, 2017 at 19:26
3
Solved
When I start typing in the input field I want to get this data in console, but currently it is empty. What am I doing wrong?
HTML:
<products-list v-model="product.name" v-on:keyup=&quo...
Cairo asked 16/9, 2017 at 21:54
3
Solved
I'm writing a custom component for react-leaflet. It is an editable popup, with a few other features. Here is a codesandbox for an example.. The source code for the component is here. This example ...
Immixture asked 8/1, 2020 at 7:56
2
Solved
I have implemented the following component. It works and behaves as expected. Nevertheless, as the implementation of ControlValueAccessor was new to me, I had to follow a blog without understanding...
Serviette asked 14/10, 2017 at 9:56
2
Solved
I am dealing with this situation...
<template>
<slot name="thing"></slot>
<slot name="other"></slot>
</template>
and an implementation like
<custom-elem...
Oddment asked 15/1, 2020 at 3:25
6
Solved
I am trying to change the color of a JToggleButton when it has been selected in a reliable, look and feel independent way.
If using the Metal L&F, then using the UIManager is an approach:
UIMan...
Budbudapest asked 27/4, 2011 at 17:21
8
In Delphi 2007, working on a project which includes a custom component, I'm getting this set of warnings as the first four in Messages when I do a full build (but not when I do a straight compile):...
Welloff asked 15/5, 2009 at 21:3
4
Solved
I have a CompositeComponent (EditText+ImageButton)
When clicking on button the edittext content will be cleared.
It is working fine. My problem is setting attributes to my component. I am using dec...
Ullman asked 16/3, 2012 at 6:6
3
Solved
I'm trying to build a simple modal component in Ember, but it seems the "logic-less" of Handlebars is too illogical for me. Is there any sane way to achieve a result somewhat like this?
&...
Ebro asked 16/4, 2015 at 5:29
2
Solved
I am implementing my custom component like below. Placed this file web-> resource folder
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://ja...
Milan asked 9/6, 2017 at 9:58
1
Solved
is there a way that I can use the required attribute on my custom component?
My component looks like this:
import { Component, Input, forwardRef } from '@angular/core';
import { Platform } from 'i...
Jackanapes asked 18/5, 2018 at 7:51
5
I using custom switch for support of API 8. I am using THIS Libarary for Custom Switch. But I want to make something Like show in figure.I have tried to change the color ,though changing the color ...
Eurypterid asked 20/3, 2014 at 7:36
2
Solved
I have made a custom View with onDraw() overridden that draws a bitmap on the canvas. When I specify that I want it wrap_content in the layout file it still fills up the entire screen. onMeasure() ...
Savick asked 7/11, 2012 at 16:22
2
Solved
I am developing a JSF custom component. This component has the purpose of encapsulating another component (namely a PrimeFaces table) and adding customized behaviour to it. For example, one of the ...
Alcheringa asked 25/1, 2017 at 17:12
5
I have following custom button view.
public class PrayerTimeLabel extends Button {
int hours;
int minutes;
String dayHalf; //am or pm
Context parentActivity;
PrayerControl parentControl;
public...
Pretrice asked 22/6, 2012 at 10:18
3
Solved
I've been searching around but could not find any answers to this. What I'm trying to implement is an EditText similar to the 'To' field found in the composing screen of the ICS gmail app.
Here's ...
Lark asked 3/7, 2012 at 20:19
2
Solved
I have 2 elements, banana and an outputText, where banana is a custom JSF component and in banana renderer, I would like to generate HTML enclosing the specified element.
xhtml:
<h:outputText ...
Spherulite asked 5/7, 2016 at 7:21
2
Solved
I have a few JComboBoxes in my programm. I want to change the size of the scrollbar and the arrow button in the way that they are much wider. I need that because I want to use the programm on a Win...
Delisadelisle asked 17/2, 2016 at 11:51
4
Solved
I am creating a custom control derived from TCustomControl, for example:
type
TMyCustomControl = class(TCustomControl)
private
FText: string;
procedure SetText(const Value: string);
protected
...
Lavonna asked 28/1, 2013 at 17:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.