com.raquo.laminar.tags
Members list
Type members
Classlikes
If you are creating custallowedInputControllerConfigIndiceshis class instead of HtmlTag.
If you are creating custallowedInputControllerConfigIndiceshis class instead of HtmlTag.
Currently this class is only used to support controlled
blocks in Web Components, but it may get more features in the future.
Note: We allow multiple input controller configs per custom element type in case there are weird cases like:
- A web component with two HtmlProp-s defined for the same underlying prop, with different codecs
- e.g. valueString vs valueNumber vs valueList
- A web component with two input fields that can both be controlled independently.
Value parameters
- allowableInputControllerConfigs
-
Returns an array of input controller configs that can in principle be used on this element type. This is needed to warn users about conflicts with non-controlled binders for these properties. (i.e prevent situations where you have
value <-- ...
both controlled and uncontrolled on the same element) - allowedInputControllerConfigIndices
-
Specifies which of the configs defined in allowableInputControllerConfigs are actually allowed to be used in a
controlled
on a given element. This takes into account the element's details such as whether it's a checkbox or a text input, if that is not already apparent from the tag name. This returns a list of 0-based indices of the allowed config from allowableInputControllerConfigs.
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CustomHtmlTag.type
Attributes
- Supertypes
- Known subtypes
-
class CustomHtmlTag[Ref]
Attributes
- Supertypes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes