Skip to content

Commit

Permalink
Merge pull request #1851 from kujirahand/add_attr_width_to_objprop
Browse files Browse the repository at this point in the history
DOMへのプロパティ構文で「幅属性」「高属性」を追加 #1837
  • Loading branch information
kujirahand authored Nov 28, 2024
2 parents ffe44e3 + f0a9988 commit f401fc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugin_browser_dom_basic.mts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ export default {
'幅': 'width',
'高さ': 'height',
'高': 'height',
'幅属性': 'width',
'高属性': 'height',
'タイプ': 'type',
'データ': 'data',
'名前': 'name',
Expand Down Expand Up @@ -285,6 +287,8 @@ export default {
'幅': 'style',
'高': 'style',
'読取専用': 'attribute',
'幅属性': 'attribute',
'高属性': 'attribute',
'有効': 'hook', // 「DOM有効設定」「DOM有効取得」を呼び出す
'可視': 'hook', // 「DOM可視設定」「DOM可視取得」を呼び出す
'ポケット': 'hook', // 「DOMポケット設定」「DOMポケット取得」を呼び出す
Expand Down

0 comments on commit f401fc3

Please sign in to comment.