title: $:/core/procedures/sliders tags: $:/tags/Global code-body: yes \procedure one-cell-slider(width:"100%",minHeight:"10px",template:"",mode:"block",sliderWidth:"12px",padding:"12px",sliderCondition:"yes") \import $:/core/procedures/sidebar-resizer \function get.resizer.style.position() absolute \function get.template-right.width() [get[text]] :else[[50%]] \function get.resizer.style.left() [[calc(100% - ]addsuffixaddsuffix[)]] \function get.resizer.style.width() [] \function set.throttling() no \function get.template.left() \whitespace trim
> style.min-height=<> style.display="flex" style.flex-direction="column" style.padding-left=<> style.padding-right=<> style.padding-top=<> style.padding-bottom=<> > <$let tv-set-storywidth-storyright="no" tv-set-sidebarwidth="yes" tv-set-centralised="no" storyLeftTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/storyleft-]] }}} storyRightTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/storyright-]] }}} sidebarWidthTiddler={{{ [!is[blank]] :else[addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/rightwidth-]] }}} tiddlerWidthTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/tiddlerwidth-]] }}} storyWidthTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/storywidth-]] }}} storyMinWidthTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/storywidth-]] }}} sidebarMinWidthTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/storyminwidth-]] }}} storyPaddingLeftTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/storypaddingleft-]] }}} storyPaddingRightTiddler={{{ [addsuffix[-]addsuffixsha256[]addprefix[$:/state/resizer/storypaddingright-]] }}}> <$transclude $variable="sidebar-resizer" templateLeft="get.template.left" templateRight=<