hyperapp-is 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -553,12 +553,14 @@ NavigatorFinder に渡すヘッダーと値
553
553
  export interface NavigatorColumn {
554
554
  name : string
555
555
  val : (item: NavigatorItem) => any
556
+ text ?: (item: NavigatorItem) => string
556
557
  compare?: (a: NavigatorItem, b: NavigatorItem) => number
557
558
  }
558
559
  ```
559
560
 
560
- - name: 名前
561
- - val : 値を返す関数
561
+ - name : 名前
562
+ - val : 値を返す関数 (VNode等も可)
563
+ - text : val が string ではない時に設定するテキスト
562
564
  - compare: 比較関数
563
565
 
564
566
  `compare` を設置したカラムだけ、ソート対象となります
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperapp-is",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "UI foundation library for Hyperapp by is4416",
5
5
  "license": "MIT",
6
6
  "type": "module",