Lint changes

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 17:26:41 +03:00
parent eb2de5460c
commit 4d3a071e66
291 changed files with 28450 additions and 26621 deletions

View file

@ -1,78 +1,78 @@
const TabViewProps = [
{
name: "activeIndex",
type: "number",
default: "0",
description: "Index of the active tab."
name: 'activeIndex',
type: 'number',
default: '0',
description: 'Index of the active tab.'
},
{
name: "lazy",
type: "boolean",
default: "false",
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
name: 'lazy',
type: 'boolean',
default: 'false',
description: 'When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.'
},
{
name: "scrollable",
type: "boolean",
default: "false",
description: "When enabled displays buttons at each side of the tab headers to scroll the tab list."
name: 'scrollable',
type: 'boolean',
default: 'false',
description: 'When enabled displays buttons at each side of the tab headers to scroll the tab list.'
},
{
name: "tabindex",
type: "number",
default: "0",
description: "Index of the element in tabbing order."
name: 'tabindex',
type: 'number',
default: '0',
description: 'Index of the element in tabbing order.'
},
{
name: "selectOnFocus",
type: "boolean",
default: "false",
description: "When enabled, the focused tab is activated."
name: 'selectOnFocus',
type: 'boolean',
default: 'false',
description: 'When enabled, the focused tab is activated.'
},
{
name: "previousButtonProps",
type: "any",
default: "null",
description: "Uses to pass all properties of the HTMLButtonElement to the previous button."
name: 'previousButtonProps',
type: 'any',
default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the previous button.'
},
{
name: "nextButtonProps",
type: "any",
default: "null",
description: "Uses to pass all properties of the HTMLButtonElement to the next button."
name: 'nextButtonProps',
type: 'any',
default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the next button.'
}
];
const TabViewEvents = [
{
name: "tab-change",
description: "Callback to invoke when an active tab is changed.",
name: 'tab-change',
description: 'Callback to invoke when an active tab is changed.',
arguments: [
{
name: "originalEvent",
type: "object",
description: "Original event"
name: 'originalEvent',
type: 'object',
description: 'Original event'
},
{
name: "index",
type: "number",
description: "Index of the selected tab"
name: 'index',
type: 'number',
description: 'Index of the selected tab'
}
]
},
{
name: "tab-click",
description: "Callback to invoke when an active tab is clicked.",
name: 'tab-click',
description: 'Callback to invoke when an active tab is clicked.',
arguments: [
{
name: "originalEvent",
type: "object",
description: "Original event"
name: 'originalEvent',
type: 'object',
description: 'Original event'
},
{
name: "index",
type: "number",
description: "Index of the clicked tab"
name: 'index',
type: 'number',
description: 'Index of the clicked tab'
}
]
}
@ -80,8 +80,8 @@ const TabViewEvents = [
module.exports = {
tabview: {
name: "TabView",
description: "TabView is a container component to group content with tabs.",
name: 'TabView',
description: 'TabView is a container component to group content with tabs.',
props: TabViewProps,
event: TabViewEvents
}