MCPcopy Create free account
hub / github.com/PaulleDemon/PyUIBuilder / renderContent

Method renderContent

src/frameworks/customtk/widgets/slider.js:142–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 }
141
142 renderContent(){
143 return (
144 <div className="tw-w-flex tw-flex-col tw-w-full tw-h-full tw-rounded-md tw-overflow-hidden">
145 <div className="flex flex-col items-center justify-center h-screen
146 bg-gray-100"
147 ref={this.styleAreaRef}
148 style={this.getInnerRenderStyling()}>
149 <div className="w-full max-w-md">
150 <input
151 type="range"
152 min={this.getAttrValue("scale.min")}
153 max={this.getAttrValue("scale.max")}
154 step={this.getAttrValue("scale.step")}
155 value={this.getAttrValue("scale.default")}
156 style={{backgroundColor: this.getAttrValue("styling.troughColor") }}
157 className="tw-pointer-events-none w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-blue-500"
158 />
159
160 </div>
161 </div>
162 </div>
163 )
164 }
165
166}
167

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected