Giter Site home page Giter Site logo

stencil-select's Introduction

stencil-select

Stencil's fancy select component

stencil-select's People

Contributors

avelinet avatar

Watchers

Igor Faletski avatar Jeremy Wiebe avatar Steve Calvert avatar Ira Mitchell avatar Arthur Chan avatar Gabriel Hernandez avatar Mike Klemarewski avatar Jose Barrios avatar James Cloos avatar Zoe Hardisty avatar Seb Vetter avatar Mobify Deploy Bot avatar Jennifer Bandelin avatar  avatar  avatar Benjamin Terrill avatar Anton Bielousov avatar  avatar Artem Shananin avatar Vivian Chen avatar Anoop Aulakh avatar Kyle Young avatar David Fay avatar Jason Zhang avatar Jia chen avatar Oliver avatar Mahdi Soleimani avatar Olivya Striloff avatar Cole Sanderson avatar Tina Wang avatar Chris Bildfell avatar  avatar Rob Schwartz avatar  avatar Karey Shumansky avatar Hussain Dhanani avatar Alicia Woodside avatar  avatar  avatar Aaron Metta avatar Kimberly Dextras-Romagnino avatar Stephen Cheung avatar  avatar  avatar Mobot Robot avatar Richard Sexton avatar  avatar Yoony Jiyoon Ok avatar  avatar Yana Bobrysheva avatar Andre Ponnouradjane avatar Lansi Chu avatar  avatar  avatar  avatar Farnush Farhadi avatar Judah Okwuobi avatar James Semple avatar BenCRO avatar Obie Egwim avatar  avatar  avatar Melissa Cheng avatar Alex Myers avatar  avatar  avatar  avatar

stencil-select's Issues

Make the “inner label” version the only version

Advantages:

  • single, consistent implementation
  • ability to truncate (with ellipsis) the text value
  • ability to allow the caret icon to sit next to the text, as the length of the value changes (debatable?)

Disadvantages

  • Every instance is script-driven, even if it doesn’t have to be

Consider using Custom Elements for UI script

Using a Custom Element for components would give us the following:

  • automatic initialization without custom code in Adaptive
  • lifecycle callbacks
  • native DOM API for the component (custom attributes, properties, methods directly on the element itself)

This is an avenue worth considering for a future version of the component system. See this exploratory implementation.

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.