Skip to content

Commit

Permalink
Update README.md Wicket10
Browse files Browse the repository at this point in the history
  • Loading branch information
try0 authored Apr 6, 2024
1 parent ef8152a commit cad47f4
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ wicket-iziToast converts the feedback message to JavaScript to display the toast

| Version | Wicket | iziToast |
| ---- | ---- | ---- |
| [1.1.0](https://search.maven.org/artifact/jp.try0.wicket/wicket-izitoast-core/1.1.0/jar) | 8.x | 1.4.0 |
| [3.0.0](https://search.maven.org/artifact/jp.try0.wicket/wicket-izitoast-core/3.0.0/jar) | 10.x | 1.4.0 |
| [2.1.0](https://search.maven.org/artifact/jp.try0.wicket/wicket-izitoast-core/2.1.0/jar) | 9.x | 1.4.0 |
| [1.1.0](https://search.maven.org/artifact/jp.try0.wicket/wicket-izitoast-core/1.1.0/jar) | 8.x | 1.4.0 |



Expand All @@ -29,14 +30,15 @@ Deployed [wicket-izitoast-samples](https://try0.jp/app/wicket-izitoast-samples/)
[Examples](https://github.com/try0/wicket-iziToast/wiki)

Add wicket-izitoast-core dependency.
Wicket 8.x
Wicket 10.x
```xml
<dependency>
<groupId>jp.try0.wicket</groupId>
<artifactId>wicket-izitoast-core</artifactId>
<version>1.1.0</version>
<version>3.0.0</version>
</dependency>
```

Wicket 9.x
```xml
<dependency>
Expand All @@ -46,6 +48,15 @@ Wicket 9.x
</dependency>
```

Wicket 8.x
```xml
<dependency>
<groupId>jp.try0.wicket</groupId>
<artifactId>wicket-izitoast-core</artifactId>
<version>1.1.0</version>
</dependency>
```

### Initialize Settings
You can set default values, in the application initialize process(Application#init).
```java
Expand All @@ -62,7 +73,7 @@ IziToastSetting
if true add IziToastBehavior to page automatically.

##### GlobalOption
Default toast option. Execute iziToast.settings(option) in client-side and apply the default option.
Default toast option. Execute iziToast.settings(option) on the client-side and apply the default option.

##### GlobalEachLevelOptions
Default toast option per levels.
Expand Down

0 comments on commit cad47f4

Please sign in to comment.