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
10 changes: 6 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,19 @@ module.exports = function(grunt) {
cmd: 'npx eslint --color --f visualstudio --ext .js,.jsx,.ts,.tsx .'
},
bundle_tabris: {
cmd: 'node node_modules/rollup/bin/rollup --config rollup.tabris.js'
cmd: 'npx rollup --config rollup.tabris.js'
},
bundle_boot: {
cmd: 'node node_modules/rollup/bin/rollup --config rollup.boot.js'
cmd: 'npx rollup --config rollup.boot.js'
},
uglify_tabris: {
cmd: 'node node_modules/uglify-es/bin/uglifyjs --mangle --keep-fnames --compress ' +
cmd: 'node node_modules/uglify-es/bin/uglifyjs ' +
'--mangle --keep-fnames --compress "collapse_vars=false,inline=false,passes=2" ' +
'-o build/tabris/tabris.min.js build/tabris/tabris.js'
},
uglify_boot: {
cmd: 'node node_modules/uglify-es/bin/uglifyjs --mangle --compress ' +
cmd: 'node node_modules/uglify-es/bin/uglifyjs ' +
'--mangle --compress "collapse_vars=false,inline=false,passes=2" ' +
'-o build/tabris/boot.min.js build/tabris/boot.js'
}
}
Expand Down
17 changes: 17 additions & 0 deletions doc/api/Widget.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,23 @@
"accessibilityLabel": {
"type": "string",
"description": "Provides a textual description of the widget for screen readers, describing its purpose or function to visually impaired users."
},
"accessibilityHint": {
"type": "string",
"description": "Provides a hint about what happens when the element is activated."
},
"accessibilityValue": {
"type": "string",
"description": "Provides the current value of the element, e.g., for sliders or progress bars."
},
"accessibilityTraits": {
"type": { "interface": "Array", "generics": ["string"] },
"description": "Describes the traits/characteristics of the element, e.g., 'button', 'header', 'link'."
},
"isAccessibilityElement": {
"type": "boolean",
"default": "false",
"description": "If true, this widget is treated as accessibility element by assistive technologies."
}
},
"events": {
Expand Down
Loading