index int64 0 0 | repo_id stringlengths 16 181 | file_path stringlengths 28 270 | content stringlengths 1 11.6M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Label.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Label render correctly 1`] = `<label />`;
| 6,800 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/LivePlayer.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`LivePlayer render correctly 1`] = `
<live-player
autoPauseIfNavigate={true}
autoPauseIfOpenNative={true}
autoplay={false}
backgroundMute={false}
maxCache={3}
minCache={1}
mode="live"
muted={false}
objectFit="contain"
orientation="vertical"
sound... | 6,801 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/LivePusher.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`LivePusher render correctly 1`] = `
<live-pusher
aspect="9:16"
audioQuality="high"
audioReverbType={0}
audioVolumeType="voicecall"
autoFocus={true}
autopush={false}
backgroundMute={false}
beauty={0}
devicePosition="front"
enableAgc={true}
enable... | 6,802 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Map.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Map render correctly 1`] = `
<map
enable3D={false}
enableOverlooking={false}
enableRotate={false}
enableSatellite={false}
enableScroll={true}
enableTraffic={false}
enableZoom={true}
latitude={0}
layerStyle={1}
longitude={0}
maxScale={20}
minSc... | 6,803 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/MatchMedia.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`MatchMedia render correctly 1`] = `<match-media />`;
| 6,804 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/MovableArea.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`MovableArea render correctly 1`] = `
<movable-area
scaleArea={false}
/>
`;
| 6,805 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/MovableView.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`MovableView render correctly 1`] = `
<movable-view
animation={true}
damping={20}
direction="none"
disabled={false}
friction={2}
inertia={false}
outOfBounds={false}
scale={false}
scaleMax={10}
scaleMin={0}
scaleValue={1}
/>
`;
| 6,806 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/NavigationBar.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`NavigationBar render correctly 1`] = `
<navigation-bar
colorAnimationDuration={0}
colorAnimationTimingFunc="linear"
loading={false}
/>
`;
| 6,807 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Navigator.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Navigator render correctly 1`] = `
<navigator
delta={1}
hoverClassName="navigator-hover"
hoverStartTime={50}
hoverStayTime={600}
hoverStopPropagation={false}
openType="navigate"
target="self"
url="url"
/>
`;
| 6,808 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/OfficialAccount.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`OfficialAccount render correctly 1`] = `<official-account />`;
| 6,809 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/OpenData.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`OpenData render correctly 1`] = `
<open-data
lang="en"
/>
`;
| 6,810 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/PageContainer.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PageContainer render correctly 1`] = `
<page-container
closeOnSlideDown={false}
duration={300}
overlay={true}
position="bottom"
round={false}
show={false}
zIndex={100}
/>
`;
| 6,811 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/PageMeta.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PageMeta render correctly 1`] = `
<page-meta
scrollDuration={300}
/>
`;
| 6,812 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Picker.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Picker render correctly 1`] = `
<picker
disabled={false}
fields="day"
mode="selector"
range={Array []}
/>
`;
| 6,813 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/PickerView.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PickerView render correctly 1`] = `<picker-view />`;
| 6,814 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/PickerViewColumn.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`PickerViewColumn render correctly 1`] = `<picker-view-column />`;
| 6,815 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Progress.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Progress render correctly 1`] = `
<progress
active={false}
activeColor="#09BB07"
activeMode="backwards"
backgroundColor="#EBEBEB"
borderRadius={0}
color="#09BB07"
duration={30}
fontSize={16}
showInfo={false}
strokeWidth={6}
/>
`;
| 6,816 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Radio.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Radio render correctly 1`] = `
<radio
checked={false}
color="#09BB07"
disabled={false}
/>
`;
| 6,817 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/RadioGroup.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`RadioGroup render correctly 1`] = `<radio-group />`;
| 6,818 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/RichText.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`RichText render correctly 1`] = `
<rich-text
nodes={Array []}
/>
`;
| 6,819 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/ScrollView.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ScrollView render correctly 1`] = `
<scroll-view
bounces={true}
enableBackToTop={false}
enableFlex={false}
enhanced={false}
fastDeceleration={false}
lowerThreshold={50}
pagingEnabled={false}
refresherBackground="#fff"
refresherDefaultStyle="black"
... | 6,820 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/ShareElement.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ShareElement render correctly 1`] = `
<share-element
duration={300}
easingFunction="ease-out"
transform={false}
/>
`;
| 6,821 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Slider.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Slider render correctly 1`] = `
<slider
activeColor="#1aad19"
backgroundColor="#e9e9e9"
blockColor="#ffffff"
blockSize={28}
color="#e9e9e9"
disabled={false}
max={100}
min={0}
selectedColor="#1aad19"
showValue={false}
step={1}
value={0}
/>
`;
| 6,822 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Swiper.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Swiper render correctly 1`] = `
<swiper
autoplay={false}
circular={false}
current={0}
displayMultipleItems={1}
duration={500}
easingFunction="default"
indicatorActiveColor="#000000"
indicatorColor="rgba(0, 0, 0, .3)"
indicatorDots={false}
interval... | 6,823 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/SwiperItem.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`SwiperItem render correctly 1`] = `<swiper-item />`;
| 6,824 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Switch.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Switch render correctly 1`] = `
<switch
checked={false}
color="#04BE02"
disabled={false}
type="switch"
/>
`;
| 6,825 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Text.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Text render correctly 1`] = `
<text
className="class"
decode={false}
selectable={false}
userSelect={false}
>
text
</text>
`;
| 6,826 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Textarea.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TextArea render correctly 1`] = `
<textarea
adjustPosition={true}
autoFocus={false}
autoHeight={false}
className="class"
cursor={-1}
cursorSpacing={0}
disableDefaultPadding={false}
disabled={false}
fixed={false}
focus={false}
holdKeyboard={false... | 6,827 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/Video.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Video render correctly 1`] = `
<video
autoPauseIfNavigate={true}
autoPauseIfOpenNative={true}
autoplay={false}
controls={true}
danmuBtn={false}
enableAutoRotation={false}
enableDanmu={false}
enablePlayGesture={false}
enableProgressGesture={true}
i... | 6,828 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/View.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`View render correctly 1`] = `
<view
className="class"
hoverClassName="none"
hoverStartTime={50}
hoverStayTime={400}
hoverStopPropagation={false}
>
view
</view>
`;
| 6,829 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/VoipRoom.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`VoipRoom render correctly 1`] = `
<voip-room
devicePosition="front"
mode="camera"
openId="openId"
/>
`;
| 6,830 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components | petrpan-code/remaxjs/remax/packages/remax-wechat/src/__tests__/components/__snapshots__/WebView.test.tsx.snap | // Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`WebView render correctly 1`] = `<web-view />`;
| 6,831 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src | petrpan-code/remaxjs/remax/packages/remax-wechat/src/api/index.ts | import { promisify } from '@remax/framework-shared';
declare const wx: WechatMiniprogram.Wx;
export const canIUse = wx.canIUse;
export const base64ToArrayBuffer = wx.base64ToArrayBuffer;
export const arrayBufferToBase64 = wx.arrayBufferToBase64;
export const getSystemInfoSync = wx.getSystemInfoSync;
export const getS... | 6,832 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/index.ts | export * from './View';
export * from './Input';
export * from './Textarea';
export * from './Video';
export * from './Swiper';
export * from './ScrollView';
export * from './SwiperItem';
export * from './MovableView';
export * from './MovableArea';
export * from './CoverView';
export * from './CoverImage';
export * fr... | 6,833 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/node.ts | import * as ad from './Ad/node';
import * as audio from './Audio/node';
import * as button from './Button/node';
import * as camera from './Camera/node';
import * as canvas from './Canvas/node';
import * as checkboxGroup from './CheckboxGroup/node';
import * as checkbox from './Checkbox/node';
import * as coverImage fr... | 6,834 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Ad/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface AdProps extends BaseProps {
/** 广告单元id,可在小程序管理后台的流量主模块新建 1.9.94; */
unitId: string;
/** 广告自动刷新的间隔时间,单位为秒,参数值必须大于等于30(该参数不传入时 Banner 广告不会自动刷新) 2.3... | 6,835 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Ad/node.ts | export const alias = {
unitId: 'unit-id',
adIntervals: 'ad-intervals',
onLoad: 'bindload',
onError: 'binderror',
onClose: 'bindclose',
animation: 'animation',
adType: 'ad-type',
adTheme: 'ad-theme',
};
export const props = Object.values(alias);
| 6,836 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/AdCustom/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface AdCustomProps extends BaseProps {
/** 广告单元id,可在小程序管理后台的流量主模块新建 2.10.4; */
unitId: string;
/** 广告自动刷新的间隔时间,单位为秒,参数值必须大于等于30(该参数不传入时 Banner 广告不会自动刷... | 6,837 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/AdCustom/node.ts | export const alias = {
unitId: 'unit-id',
adIntervals: 'ad-intervals',
onLoad: 'bindload',
onError: 'binderror',
onClose: 'bindclose',
};
export const props = Object.values(alias);
| 6,838 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Audio/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
// 微信已不再维护
export const Audio: React.ComponentType = createHostComponent('audio');
| 6,839 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Audio/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
src: 'src',
loop: 'loop',
controls: 'controls',
poster: 'poster',
name: 'name',
author: 'author',
onError: 'binderror',
onPlay: 'bindplay',
onPause: 'bindpause',
onTimeUpdate: 'bindtimeupdate',
onE... | 6,840 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Button/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface ButtonProps extends BaseProps {
/**
* 1.0.0
* default 默认大小
* mini 小尺寸
*/
size?: 'default' | 'mini';
/**
* 1.0.0
* primary 绿色
... | 6,841 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Button/node.ts | export const alias = {
className: 'class',
id: 'id',
style: 'style',
animation: 'animation',
type: 'type',
plain: 'plain',
disabled: 'disabled',
loading: 'loading',
formType: 'form-type',
openType: 'open-type',
hoverClass: 'hover-class',
hoverClassName: 'hover-class',
hoverStopPropagation: 'ho... | 6,842 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Camera/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface CameraProps extends BaseProps {
/** (default: normal) 应用模式,只在初始化时有效,不能动态变更 2.1.0 */
mode?: 'normal' | 'scanCode';
/** 分辨率,不支持动态修改 2.10.0 */
re... | 6,843 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Camera/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
mode: 'mode',
devicePosition: 'device-position',
flash: 'flash',
frameSize: 'frame-size',
onStop: 'bindstop',
onError: 'binderror',
onInitDone: 'bindinitdone',
onScanCode: 'bindscancode',
};
export cons... | 6,844 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Canvas/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface CanvasProps extends BaseProps {
/** 指定 canvas 类型,当前仅支持 webgl 2.7.0 */
type?: string;
/** canvas 组件的唯一标识符,若指定了 type 则无需再指定该属性 1.0.0 */
canvasId?... | 6,845 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Canvas/node.ts | export const alias = {
id: 'id',
style: 'style',
animation: 'animation',
className: 'class',
width: 'width',
height: 'height',
disableScroll: 'disable-scroll',
type: 'type',
canvasId: 'canvas-id',
onTouchStart: 'bindtouchstart',
onTouchMove: 'bindtouchmove',
onTouchEnd: 'bindtouchend',
onTouch... | 6,846 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Checkbox/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export interface CheckboxProps extends BaseProps {
name?: string;
/** checkbox标识,选中时触发checkbox-group的 change 事件,并携带 checkbox 的 value 1.0.0 */
value?: string;
/** 是否禁用 1.0.0 ... | 6,847 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Checkbox/node.ts | export const alias = {
id: 'id',
name: 'name',
className: 'class',
style: 'style',
animation: 'animation',
value: 'value',
checked: 'checked',
disabled: 'disabled',
onChange: 'bindchange',
color: 'color',
};
export const props = Object.values(alias);
| 6,848 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/CheckboxGroup/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface CheckboxGroupProps extends BaseProps {
name?: string;
/**
* checkbox-group 中选中项发生改变时触发 change 事件,detail = {value:[选中的checkbox的value的数组]} 1.0.0
... | 6,849 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/CheckboxGroup/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
name: 'name',
onChange: 'bindchange',
};
export const props = Object.values(alias);
| 6,850 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/CoverImage/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface CoverImageProps extends BaseProps {
/** 图标路径,支持临时路径、网络地址(1.6.0起支持)、云文件ID(2.2.3起支持)。暂不支持base64格式。 1.4.0 */
src?: string;
/** 图片加载成功时触发 2.1.0 */
... | 6,851 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/CoverImage/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
src: 'src',
onLoad: 'bindload',
onError: 'binderror',
onTap: 'bindtap',
onClick: 'bindtap',
};
export const props = Object.values(alias);
| 6,852 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/CoverView/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export interface CoverViewProps extends BaseProps {
/** 设置顶部滚动偏移量,仅在设置了 overflow-y: scroll 成为滚动元素后生效 2.1.0 */
scrollTop?: number | string;
markerId?: string;
}
/**
* @see ht... | 6,853 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/CoverView/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
scrollTop: 'scroll-top',
markerId: 'marker-id',
onTap: 'bindtap',
onClick: 'bindtap',
};
export const props = Object.values(alias);
| 6,854 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Editor/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface EditorProps extends BaseProps {
/** 设置编辑器为只读 2.7.0 */
readOnly?: boolean;
/** 提示信息 2.7.0 */
placeholder?: string;
/** 点击图片时显示图片大小控件 2.7.0 ... | 6,855 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Editor/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
readOnly: 'read-only',
placeholder: 'placeholder',
showImgSize: 'show-img-size',
showImgToolbar: 'show-img-toolbar',
showImgResize: 'show-img-resize',
onReady: 'bindready',
onFocus: 'bindfocus',
onBlur: ... | 6,856 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Form/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface FormProps extends BaseProps {
/** 是否返回 formId 用于发送模板消息 1.0.0 */
reportSubmit?: boolean;
/** (default: 0) 等待一段时间(毫秒数)以确认 formId 是否生效。如果未指定这个参数,fo... | 6,857 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Form/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
reportSubmit: 'report-submit',
onSubmit: 'bindsubmit',
onReset: 'bindreset',
reportSubmitTimeout: 'report-submit-timeout',
};
export const props = Object.values(alias);
| 6,858 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/FunctionalPageNavigator/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface FunctionalPageNavigatorProps extends BaseProps {
/** (default: release) 跳转到的小程序版本,线上版本必须设置为 release 2.1.0 */
version?: 'develop' | 'trial' | 'rele... | 6,859 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/FunctionalPageNavigator/node.ts | export const alias = {
version: 'version',
name: 'name',
args: 'args',
onSuccess: 'bindsuccess',
onFail: 'bindfail',
};
export const props = Object.values(alias);
| 6,860 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Icon/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export interface IconProps extends BaseProps {
/** icon的类型 1.0.0 */
type: 'success' | 'success_no_circle' | 'info' | 'warn' | 'waiting' | 'cancel' | 'download' | 'search' | 'cle... | 6,861 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Icon/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
type: 'type',
size: 'size',
color: 'color',
};
export const props = Object.values(alias);
| 6,862 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Image/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface ImageProps extends BaseProps {
/**
* 1.0.0
* 图片资源地址
*/
src?: string;
/**
* 1.0.0
* 图片裁剪、缩放的模式
* scaleToFill 缩放模式,不保持纵横比缩放图片,使图片... | 6,863 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Image/node.ts | export const alias = {
id: 'id',
src: 'src',
mode: 'mode',
className: 'class',
style: 'style',
animation: 'animation',
lazyLoad: 'lazy-load',
onLoad: 'bindload',
onError: 'binderror',
onTap: 'bindtap',
onClick: 'bindtap',
showMenuByLongpress: 'show-menu-by-longpress',
onTouchStart: 'bindtouchs... | 6,864 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Input/index.ts | import * as React from 'react';
import { BaseProps, GenericEvent } from '../../types/component';
import { createHostComponent } from '@remax/runtime';
export interface InputProps extends BaseProps {
/**
* 1.0.0
* (即将废弃,请直接使用 focus )自动聚焦,拉起键盘
*/
autoFocus?: boolean;
/**
* 1.0.0
* 获取焦点
*/
focus... | 6,865 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Input/node.ts | export const alias = {
id: 'id',
autoFocus: 'auto-focus',
className: 'class',
focus: 'focus',
alwayEmbed: 'always-embed',
name: 'name',
maxlength: 'maxlength',
value: 'value',
style: 'style',
animation: 'animation',
password: 'password',
type: 'type',
confirmType: 'confirm-type',
confirmHold... | 6,866 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/KeyboardAccessory/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export type KeyboardAccessoryProps = BaseProps;
/**
* @see https://developers.weixin.qq.com/miniprogram/dev/component/keyboard-accessory.html
*/
export const KeyboardAccessory: Re... | 6,867 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/KeyboardAccessory/node.ts | export const alias = {};
export const props: string[] = [];
| 6,868 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Label/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export interface LabelProps extends BaseProps {
/** 绑定控件的 id 1.0.0 */
for?: string;
}
/**
* https://developers.weixin.qq.com/miniprogram/dev/component/label.html
*/
export con... | 6,869 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Label/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
for: 'for',
onClick: 'bindtap',
onTap: 'bindtap',
};
export const props = Object.values(alias);
| 6,870 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/LivePlayer/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface LivePlayerProps extends BaseProps {
/** 音视频地址。目前仅支持 flv, rtmp 格式 1.7.0 */
src?: string;
/** (default: live) 模式 1.7.0 */
mode?: 'live' | 'RTC'... | 6,871 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/LivePlayer/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
src: 'src',
mode: 'mode',
autoplay: 'autoplay',
muted: 'muted',
orientation: 'orientation',
objectFit: 'object-fit',
background: 'background',
minCache: 'min-cache',
maxCache: 'max-cache',
soundMode:... | 6,872 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/LivePusher/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface LivePusherProps extends BaseProps {
/** 推流地址。目前仅支持 flv, rtmp 格式 1.7.0 */
url?: string;
/** (default: RTC) SD(标清), HD(高清), FHD(超清), RTC(实时通话) 1.7... | 6,873 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/LivePusher/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
url: 'url',
mode: 'mode',
autopush: 'autopush',
muted: 'muted',
enableCamera: 'enable-camera',
autoFocus: 'auto-focus',
orientation: 'orientation',
beauty: 'beauty',
beautyStyle: 'beauty-style',
filt... | 6,874 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Map/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface MapProps extends BaseProps {
/** 中心经度 1.0.0 */
longitude: number;
/** 中心纬度 1.0.0 */
latitude: number;
/** (default: 16) 缩放级别,取值范围为3-20 1.0.0 ... | 6,875 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Map/node.ts | export const alias = {
id: 'id',
style: 'style',
animation: 'animation',
className: 'class',
latitude: 'latitude',
longitude: 'longitude',
scale: 'scale',
minScale: 'min-scale',
maxScale: 'max-scale',
markers: 'markers',
polyline: 'polyline',
circles: 'circles',
controls: 'controls',
polygon... | 6,876 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/MatchMedia/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export interface MatchMediaProps extends BaseProps {
/** 页面最小宽度( px 为单位) 2.11.1 */
minWidth?: number;
/** 页面最大宽度( px 为单位) 2.11.1 */
maxWidth?: number;
/** 页面宽度( px 为单位) 2.1... | 6,877 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/MatchMedia/node.ts | export const alias = {
minWidth: 'min-width',
maxWidth: 'max-width',
width: 'width',
minHeight: 'min-height',
maxHeight: 'max-height',
height: 'height',
orientation: 'orientation',
};
export const props = Object.values(alias);
| 6,878 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/MovableArea/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export interface MovableAreaProps extends BaseProps {
/** (default: false) 当里面的movable-view设置为支持双指缩放时,设置此值可将缩放手势生效区域修改为整个movable-area 1.9.90 */
scaleArea?: boolean;
}
/**
* htt... | 6,879 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/MovableArea/node.ts | export const alias = {
className: 'class',
style: 'style',
animation: 'animation',
width: 'width',
height: 'height',
id: 'id',
scaleArea: 'scale-area',
};
export const props = Object.values(alias);
| 6,880 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/MovableView/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
// can't extends from BaseProps, bacause this MovableViewProps overwrite animation to boolean
export interface MovableViewProps extends Omit<BaseProps, 'animation'> {
... | 6,881 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/MovableView/node.ts | export const alias = {
className: 'class',
style: 'style',
animation: 'animation',
id: 'id',
direction: 'direction',
inertia: 'inertia',
outOfBounds: 'out-of-bounds',
x: 'x',
y: 'y',
damping: 'damping',
friction: 'friction',
disabled: 'disabled',
scale: 'scale',
scaleMin: 'scale-min',
scal... | 6,882 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/NavigationBar/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export interface NavigationBarProps extends BaseProps {
/** 导航条标题 2.9.0 */
title?: string;
/** 是否在导航条显示 loading 加载提示 2.9.0 */
loading?: boolean;
/** 导航条前景颜色值,包括按钮、标题、状态栏的颜色... | 6,883 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/NavigationBar/node.ts | export const alias = {
title: 'title',
loading: 'loading',
frontColor: 'front-color',
backgroundColor: 'background-color',
colorAnimationDuration: 'color-animation-duration',
colorAnimationTimingFunc: 'color-animation-timing-func',
};
export const props = Object.values(alias);
| 6,884 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Navigator/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface NavigatorProps extends BaseProps {
/** (default: self) 在哪个目标上发生跳转,默认当前小程序 2.0.7 */
target?: 'self' | 'miniProgram';
/** 当前小程序内的跳转链接 1.0.0 */
ur... | 6,885 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Navigator/node.ts | export const alias = {
id: 'id',
className: 'class',
style: 'style',
animation: 'animation',
openType: 'open-type',
hoverClass: 'hover-class',
hoverClassName: 'hover-class',
hoverStartTime: 'hover-start-time',
hoverStayTime: 'hover-stay-time',
url: 'url',
target: 'target',
delta: 'delta',
appI... | 6,886 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/OfficialAccount/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface OfficialAccountProps extends BaseProps {
/** 组件加载成功时触发 */
onLoad?: (event: GenericEvent) => any;
/** 组件加载失败时触发 */
onError?: (event: GenericEven... | 6,887 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/OfficialAccount/node.ts | export const alias = {
onLoad: 'bindload',
onError: 'binderror',
};
export const props = Object.values(alias);
| 6,888 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/OpenData/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface OpenDataProps extends BaseProps {
/** 开放数据类型 1.4.0 */
type?:
| 'groupName'
| 'userNickName'
| 'userAvatarUrl'
| 'userGender'
| ... | 6,889 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/OpenData/node.ts | export const alias = { type: 'type', openGid: 'open-gid', lang: 'lang' };
export const props = Object.values(alias);
| 6,890 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/PageContainer/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface PageContainerProps extends BaseProps {
/** 是否显示容器组件 2.16.0 */
show?: boolean;
/** 动画时长,单位毫秒 2.16.0 */
duration?: number;
/** z-index 层级 2.16.... | 6,891 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/PageContainer/node.ts | export const alias = {
show: 'show',
duration: 'duration',
zIndex: 'z-index',
overlay: 'overlay',
position: 'position',
round: 'round',
closeOnSlideDown: 'close-on-slideDown',
overlayStyle: 'overlay-style',
customStyle: 'custom-style',
onBeforeEnter: 'bindbeforeenter',
onEnter: 'bindenter',
onAf... | 6,892 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/PageMeta/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface PageMetaProps extends BaseProps {
/** 下拉背景字体、loading 图的样式,仅支持 dark 和 light 2.9.0 */
backgroundTextStyle?: 'dark' | 'light';
/** 窗口的背景色,必须为十六进制颜色值... | 6,893 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/PageMeta/node.ts | export const alias = {
backgroundTextStyle: 'background-text-style',
backgroundColor: 'background-color',
backgroundColorTop: 'background-color-top',
backgroundColorBottom: 'background-color-bottom',
rootBackgroundColor: 'root-background-color',
scrollTop: 'scroll-top',
scrollDuration: 'scroll-duration',
... | 6,894 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Picker/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface PickerProps extends BaseProps {
name?: string;
/**
* 1.0.0
* 选择器类型
*
* selector 普通选择器
* multiSelector 多列选择器
* time 时间选择器
* dat... | 6,895 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/Picker/node.ts | export const alias = {
id: 'id',
name: 'name',
className: 'class',
style: 'style',
animation: 'animation',
mode: 'mode',
range: 'range',
rangeKey: 'range-key',
value: 'value',
onChange: 'bindchange',
onCancel: 'bindcancel',
onColumnChange: 'bindcolumnchange',
start: 'start',
end: 'end',
fi... | 6,896 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/PickerView/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps, GenericEvent } from '../../types/component';
export interface PickerViewProps extends BaseProps {
name?: string;
/** 数组中的数字依次表示 picker-view 内的 picker-view-column 选择的第几项(下标从 0 开始),数字大于 picker-view-column 可选项长度时... | 6,897 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/PickerView/node.ts | export const alias = {
id: 'id',
name: 'name',
className: 'class',
style: 'style',
animation: 'animation',
value: 'value',
indicatorStyle: 'indicator-style',
indicatorClass: 'indicator-class',
indicatorClassName: 'indicator-class',
maskStyle: 'mask-style',
maskClass: 'mask-class',
maskClassName:... | 6,898 |
0 | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents | petrpan-code/remaxjs/remax/packages/remax-wechat/src/hostComponents/PickerViewColumn/index.ts | import * as React from 'react';
import { createHostComponent } from '@remax/runtime';
import { BaseProps } from '../../types/component';
export type PickerViewColumnProps = BaseProps;
/**
* https://developers.weixin.qq.com/miniprogram/dev/component/picker-view-column.html
*/
export const PickerViewColumn: React.Com... | 6,899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.