Giter Club home page Giter Club logo

demo-ui's Introduction

意傳官網

Build Status

ÌTHUÂN KHOKI CO., LTD. 意傳科技有限公司官方網站ithuan.tw程式。

安裝

$ npm ci

開發

$ npm start

開網址http://localhost:3000/

License授權

MIT License http://g0v.mit-license.org/

demo-ui's People

Contributors

sih4sing5hong5 avatar

Watchers

 avatar  avatar

demo-ui's Issues

大家好,我是漂亮豬。太近了!

沒斷開輕聲字

傷倚矣Siunn-uá--ah

Failed prop type: The prop 臺羅閏號調 is marked as required in HanLoSu, but its value is undefined.
in HanLoSu (created by HanLoTsua)
in HanLoTsua (created by 翻譯結果)
in div (created by 翻譯結果)
in 翻譯結果 (created by 查)
in div (created by MainSection)
in div (created by MainSection)
in div (created by MainSection)
in MainSection (created by 查)
in 查 (created by RouterContext)
in div (created by Layout)
in Layout (created by 網站)
in 網站 (created by RouterContext)
in RouterContext (created by Router)
in Router

複製鈕不容易測試複製內容

希望能夠測試複製內容的正確性

it("copys the same as original text", () => {
      let 欲複製字串 = "A-hí--á láu --tio̍h,";
      const { wrapper, button, oncopy } = mountSetup(欲複製字串);
      button.simulate('click');
      expect(wrapper.find("textarea").innerText).to.equal(true);
});

但是因為複製方式是寫在同一个函式裡頭,建立臨時的<textarea/>,複製完就移除它。
所以沒辦法在移除之前測試複製內容。

copy() {
    const { 複製內容 } = this.props;
    //建立一个臨時的複製區塊
    const textField = document.createElement("textarea");
    textField.innerText = 複製內容;//.toString().replace(/ --/g, "--");
    document.body.appendChild(textField);
    textField.select();
    document.execCommand("copy");
    // 馬上移除掉
    textField.remove();
  }

字體css整理

佇linux的chrome佮android的瀏覽器
預設字體支援𨑨``tshit,是楷體
無支援𢯭

毋過用萌典的字體了後,兩个攏變宋體

stackable buttons

因為semantic-ui暫時還沒支援這功能,
所以先自己寫

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.