Skip to content

Commit

Permalink
Fix transition boolean props complete
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jan 8, 2021
1 parent 5b89f1e commit f99da99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src/modes/template/tagProviders/vueTags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ const vueDirectives = [

const transitionProps = [
getAttribute('name', undefined, 'Used to automatically generate transition CSS class names. Default: "v"'),
getAttribute('appear', 'b', 'Whether to apply transition on initial render. Default: false'),
getAttribute('appear', 'v', 'Whether to apply transition on initial render. Default: false'),
getAttribute(
'css',
'b',
'v',
'Whether to apply CSS transition classes. Defaults: true. If set to false, will only trigger JavaScript hooks registered via component events.'
),
getAttribute(
Expand Down Expand Up @@ -133,7 +133,7 @@ const vueTags = {
const valueSets = {
transMode: ['out-in', 'in-out'],
transType: ['transition', 'animation'],
b: ['true', 'false']
v: ['true', 'false']
};

export function getVueTagProvider(): IHTMLTagProvider {
Expand Down

0 comments on commit f99da99

Please sign in to comment.