Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// //
// Copyright 2022 - 2023 Mirko Raner //
// Copyright 2022 - 2026 Mirko Raner //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// you may not use this file except in compliance with the License. //
Expand Down Expand Up @@ -112,6 +112,11 @@
**/
Alias[] aliases() default {};

/**
* @return aliases for attributes (if any)
**/
Alias[] attributeAliases() default {};

/**
* @return custom attributes for elements (if any)
**/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// //
// Copyright 2023 Mirko Raner //
// Copyright 2023 - 2026 Mirko Raner //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// you may not use this file except in compliance with the License. //
Expand Down Expand Up @@ -32,6 +32,10 @@
@Attribute(name="cols", type=BigInteger.class),
@Attribute(name="class", type=ElementClass.class)
},
attributeAliases=
{
@Alias({"cols", "columns"})
},
options=@Options
(
fileExtension=".kava",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public interface Textarea<PARENT>
Textarea<PARENT> autocomplete(String autocomplete);
Textarea<PARENT> autofocus(String autofocus);
Textarea<PARENT> cols(BigInteger cols);
Textarea<PARENT> columns(BigInteger cols);
Textarea<PARENT> dirname(File dirname);
Textarea<PARENT> disabled(String disabled);
Textarea<PARENT> form(String form);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// //
// Copyright 2022 - 2023 Mirko Raner //
// Copyright 2022 - 2026 Mirko Raner //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// you may not use this file except in compliance with the License. //
Expand Down Expand Up @@ -160,6 +160,12 @@ public Attribute[] attributes()
return new Attribute[] {};
}

@Override
public Alias[] attributeAliases()
{
return new Alias[] {};
}

@Override
public int implicitTypeParameters()
{
Expand Down
Loading