File tree Expand file tree Collapse file tree 4 files changed +36
-2
lines changed
src/main/java/gwt/material/design/client/js Expand file tree Collapse file tree 4 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 44 <parent >
55 <artifactId >gwt-material-parent</artifactId >
66 <groupId >com.github.gwtmaterialdesign</groupId >
7- <version >2.8.0 -SNAPSHOT</version >
7+ <version >2.8.1 -SNAPSHOT</version >
88 </parent >
99 <modelVersion >4.0.0</modelVersion >
1010
Original file line number Diff line number Diff line change 1+ /*
2+ * #%L
3+ * GwtMaterial
4+ * %%
5+ * Copyright (C) 2015 - 2024 GwtMaterialDesign
6+ * %%
7+ * Licensed under the Apache License, Version 2.0 (the "License");
8+ * you may not use this file except in compliance with the License.
9+ * You may obtain a copy of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS,
15+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ * See the License for the specific language governing permissions and
17+ * limitations under the License.
18+ * #L%
19+ */
20+ package gwt .material .design .client .js ;
21+
22+ import elemental2 .promise .Promise ;
23+ import jsinterop .annotations .JsMethod ;
24+ import jsinterop .annotations .JsType ;
25+
26+ @ JsType (isNative = true )
27+ public class ModernClipboard {
28+
29+ @ JsMethod
30+ public native Promise writeText (String text );
31+ }
Original file line number Diff line number Diff line change @@ -35,4 +35,7 @@ public class Navigator {
3535
3636 @ JsProperty
3737 public static boolean onLine ;
38+
39+ @ JsProperty
40+ public static ModernClipboard clipboard ;
3841}
Original file line number Diff line number Diff line change 55
66 <groupId >com.github.gwtmaterialdesign</groupId >
77 <artifactId >gwt-material-parent</artifactId >
8- <version >2.8.0 -SNAPSHOT</version >
8+ <version >2.8.1 -SNAPSHOT</version >
99 <packaging >pom</packaging >
1010 <modules >
1111 <module >gwt-material</module >
You can’t perform that action at this time.
0 commit comments