MCPcopy Create free account
hub / github.com/Xu22Web/tech-study-js / Hr

Function Hr

tech-study.js:4572–4580  ·  view source on GitHub ↗

* @description 分隔符 * @returns

({ text })

Source from the content-addressed store, hash-verified

4570 * @returns
4571 */
4572function Hr({ text }) {
4573 return createElementNode('div', undefined, {
4574 class: 'egg_hr_wrap',
4575 }, [
4576 createElementNode('div', undefined, { class: 'egg_hr' }),
4577 createElementNode('div', undefined, { class: 'egg_hr_title' }, createTextNode(text)),
4578 createElementNode('div', undefined, { class: 'egg_hr' }),
4579 ]);
4580}
4581function Select({ data, maxlength, placeholder = '', onchange, onblur, value, keep, }) {
4582 const selectData = reactive(data.map((v) => ({ selected: false, active: false, ele: undefined, ...v })));
4583 const focus = ref(false);

Callers 1

PanelFunction · 0.70

Calls 2

createElementNodeFunction · 0.70
createTextNodeFunction · 0.70

Tested by

no test coverage detected