Tag:Slider

  • Login processing of puppeter

    Time:2021-7-7

    To get a site’s comment data, visit the API and find that you will return to the landing page, that is, you can’t get enough information without logging in.Therefore, we plan to use the method of getting cookie by using the puppeter login to solve the problem.There are two problems navigater.webdriver Online course is mostly […]

  • Bidirectional sliding selector (interval selector) on the side of small program

    Time:2021-6-25

    Development found that there is no more convenient and smooth two-way selector on the small program side, so a simple plug-in is encapsulated <view class=’sliderView’ id=”slider” > <movable-area class=”slider_warp”> <view class=”slider_line”></view> <view class=”slider_line_top” style=”left:{{_sliderLineLeft}}px;width:{{_sliderLineWidth}}px” ></view> <movable-view class=”left” direction=”horizontal” x=”{{_sliderMinLeft}}” animation=”{{!enAnimation}}” bindchange=”sliderChange” data-type=”min” ></movable-view> <movable-view class=”right” direction=”horizontal” x=”{{_sliderMaxLeft}}” animation=”{{!enAnimation}}” bindchange=”sliderChange” data-type=”max” ></movable-view> </movable-area> </view> js Component({ […]

  • CSS3 custom scroll bar style: WebKit scroll bar

    Time:2021-5-8

    The default scroll bar style in windows is very ugly, and there are many places in the project where the scroll bar will be displayed, so I turn back to CSS3, and I really can realize the custom scroll bar style without plug-ins, which is just what I want The code is as follows: /The […]

  • Android uses a simpler way to realize the Slider Puzzle captcha function

    Time:2021-5-6

    Before the realization of the Slider Puzzle captcha function, I have written an article. In the last article, I used a custom control to realize this function. I mainly want to let children’s shoes know more about it and why. If you haven’t seen children’s shoes, you can have a look firstAndroid realizes the function […]

  • Trigonometric function, slow in and slow out animation and C # implementation

    Time:2021-5-5

    You can often see the animation effect of slow in and slow out in daily life, such as: 1. Scroll bar with slow in and slow out effect: 2. Breathing lamp with slow in and slow out effect: Like the above effect, it uses the knowledge related to trigonometric function. Next, we will explain how […]

  • Tkinter (16) pull rod

    Time:2021-4-22

    Creation and options of pull rod parts The slider, slider slot, tick, title label and slider value are included in the pull rod import tkinter as tk parent = tk.Tk() scale = tk.Scale(parent, option, …) option explain activebackground Background color when active bg or background The background color is 0 for dot matrix bd or […]

  • Tkinter (17) scroll bar

    Time:2021-4-21

    Creation of scroll bar and its options The scroll bar consists of slider, arrow1, arrow2 and trough. The size and position of the slider represent the proportion and position of the visible part in the whole content (0.0 ~ 1.0) import tkinter as tk root = tk.Tk() parent_widget = … scroll_bar = tk.Scrollbar(parent_widget, option, …) […]

  • Angularjs learning notes

    Time:2021-3-23

    Today, we use AJ to implement a continuous calculation based on the input value of the slidereSmall application of valueeThe definition of is as follows: (1 + 1 / x) ^ XWith the increase of X, e is closer to the bottom of natural logarithm 2.718281828459045 < div ng app = “myapp” ng controller = […]

  • How to view shadow DOM structure in Chrome browser

    Time:2021-2-3

    How to view shadow DOM structure in Chrome browser If we write the following code: <div> <input id=”foo” type=”range”/> </div> <div> <video controls=”controls”> your browser does not support the video tag </video> </div> The following UI is rendered in the page: A slider and a video element. But we will find that we have not […]

  • Easysignseekbar a beautiful and powerful custom view

    Time:2021-1-31

    GitHub address: https://github.com/zhou-you/EasySignSeekBar sketch Recently, I customized a beautiful and powerful custom view for my work, but it’s not just a seekbar. Oh, I must be patient to read it. At the beginning, I didn’t want to write it myself. It’s a waste of time. UI is not necessarily a technical work, but it must […]

  • Tkinter (35) pull rod parts ttk.Scale

    Time:2020-12-31

    Creation of TTK pull rod part and its options w = ttk.Scale(parent, option=value, …) option explain class_ Component classification name cannot be changed after creation command A program called when the state of a part changes cursor The mouse icon that is displayed when the mouse moves to the part from_ The starting value of […]

  • Tkinter (36) scroll bar unit ttk.Scrollbar

    Time:2020-12-30

    Creation of TTK scroll bar and its options w = ttk.Scale(parent, option=value, …) option explain class_ Component classification name cannot be changed after creation command A program called when the state of a part changes cursor The mouse icon that is displayed when the mouse moves to the part orient Horizontal / vertical style Generate […]