You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.8 KiB
1 lines
1.8 KiB
{"ast":null,"code":"const backtopProps = {\n visibilityHeight: {\n type: Number,\n default: 200\n },\n target: {\n type: String,\n default: \"\"\n },\n right: {\n type: Number,\n default: 40\n },\n bottom: {\n type: Number,\n default: 40\n }\n};\nconst backtopEmits = {\n click: evt => evt instanceof MouseEvent\n};\nexport { backtopEmits, backtopProps };","map":{"version":3,"names":["backtopProps","visibilityHeight","type","Number","default","target","String","right","bottom","backtopEmits","click","evt","MouseEvent"],"sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"mappings":"AAAY,MAACA,YAAY,GAAG;EAC1BC,gBAAgB,EAAE;IAChBC,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDC,MAAM,EAAE;IACNH,IAAI,EAAEI,MAAM;IACZF,OAAO,EAAE;EACb,CAAG;EACDG,KAAK,EAAE;IACLL,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb,CAAG;EACDI,MAAM,EAAE;IACNN,IAAI,EAAEC,MAAM;IACZC,OAAO,EAAE;EACb;AACA;AACY,MAACK,YAAY,GAAG;EAC1BC,KAAK,EAAGC,GAAG,IAAKA,GAAG,YAAYC;AACjC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|