Option to disable appending hash
See original GitHub issueFor similar reasons as #141 (BEM elements/modifiers), I’d like to optionally disable the appended hash on class names.
The fingerprint disallows me to reuse the component name for child elements and modifiers, ie:
&__element {
...
}
&--modifier {
...
}
<div class="component-name???__element />
or:
{{component-name class="component-name???--modifier"}}
However, I don’t want to lose wrapping the component markup with the component name, and wrapping my styles in a parent selector.
Would you be open to another ENV option that just disables appending the hash?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Have an option to disable Redoc URL hash or to add a preffix ...
It would be nice to have an option to disable ReDoc URL hash and, maybe, an option to add a URL hash prefix,...
Read more >How to disable hash changes in jQuery UI Tabs - Stack Overflow
Having the same problem. Here you go! // Prevent hashtag change on tab link click $('.ui-tabs-nav a').live('click', function(e){ e.preventDefault(); e.
Read more >nix hash to-sri
Disable substituters and consider all previously downloaded files up-to-date. --option name value. Set the Nix configuration setting name to value ...
Read more >Selective Password Hash Synchronization for Azure AD ...
The first rule will disable password hash sync. Provide the following name to the new custom rule: In from AD - User AccountEnabled...
Read more >css-loader | webpack - JS.ORG
Allows to enable/disable CSS Modules or ICSS and setup configuration: ... Allows to add custom hash to generate more unique classes. For more...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@NickChristensen Just released a 0.2.1 version. In the updated wiki there is an example of how to do BEM with the new computed property as well as an option to disable the namecpacing.
Giving access to the class name is definatly something that is going to happen. Most likely through a property on the component. This could allow a potential modifier to be passed or set as another property and used in the outputed class. Im on vacation, but if you wanted to toy around with it, I’d look into the addon initialized…