<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use CSS inside nebula.js extension framework in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2066562#M1231776</link>
    <description>&lt;P&gt;The code from you is working, but for me, what is not working is to use icons from leonardoui.&lt;/P&gt;
&lt;P&gt;import { useElement, useLayout } from '@nebula.js/stardust';&lt;BR /&gt;import properties from './object-properties';&lt;BR /&gt;import data from './data';&lt;BR /&gt;import ext from './ext';&lt;BR /&gt;import './style.css';&lt;BR /&gt;import 'leonardo-ui/dist/leonardo-ui.css'&lt;/P&gt;
&lt;P&gt;/**&lt;BR /&gt;* Entrypoint for your sense visualization&lt;BR /&gt;* &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object} galaxy Contains global settings from the environment.&lt;BR /&gt;* Useful for cases when stardust hooks are unavailable (ie: outside the component function)&lt;BR /&gt;* &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object} galaxy.anything Extra environment dependent options&lt;BR /&gt;* &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object=} galaxy.anything.sense Optional object only present within Sense,&lt;BR /&gt;* see: &lt;A href="https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense" target="_blank"&gt;https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense&lt;/A&gt;&lt;BR /&gt;*/&lt;BR /&gt;export default function supernova(galaxy) {&lt;BR /&gt;return {&lt;BR /&gt;qae: {&lt;BR /&gt;properties,&lt;BR /&gt;data,&lt;BR /&gt;},&lt;BR /&gt;ext: ext(galaxy),&lt;BR /&gt;component() {&lt;BR /&gt;const element = useElement();&lt;BR /&gt;const layout = useLayout();&lt;/P&gt;
&lt;P&gt;console.log(layout);&lt;BR /&gt;element.innerHTML = "&amp;lt;span class='lui-icon lui-icon--play' aria-hidden='true'&amp;gt;&amp;lt;/span&amp;gt;";&lt;BR /&gt;},&lt;BR /&gt;};&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Any further ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 07:41:41 GMT</pubDate>
    <dc:creator>WhoAmI</dc:creator>
    <dc:date>2023-05-02T07:41:41Z</dc:date>
    <item>
      <title>How to use CSS inside nebula.js extension framework</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2065737#M1231769</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;the use of CSS inside a extension is only be teached here:&amp;nbsp;&lt;A href="https://qlik.dev/extend/build-extension/extensions-load-resources" target="_blank"&gt;https://qlik.dev/extend/build-extension/extensions-load-resources&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But this is for the old extension not for the new nebula.js framework.&lt;/P&gt;
&lt;P&gt;I want to use the Leonardo UI Icons but this is not possible.&lt;/P&gt;
&lt;P&gt;I am import the css file inside the index.js file&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;"leonardo-ui/dist/new/leonardo-ui.min.css"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhoAmI_0-1682679808043.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106033i5D4242600CE2A1CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WhoAmI_0-1682679808043.png" alt="WhoAmI_0-1682679808043.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Any help would be great.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2065737#M1231769</guid>
      <dc:creator>WhoAmI</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CSS inside nebula.js extension framework</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2066010#M1231771</link>
      <description>&lt;P&gt;I'm looking for same thing. I'm actually trying to reverse&amp;nbsp;engineering this repo: &lt;A href="https://github.com/qlik-oss/sn-scatter-plot/tree/main/examples/plugins" target="_blank"&gt;https://github.com/qlik-oss/sn-scatter-plot/tree/main/examples/plugins&lt;/A&gt; to understand how they are using css. Don't know if it can help you.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 23:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2066010#M1231771</guid>
      <dc:creator>tens</dc:creator>
      <dc:date>2023-04-28T23:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CSS inside nebula.js extension framework</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2066102#M1231774</link>
      <description>&lt;P&gt;For me, it's working with this code:&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="javascript"&gt;import { useElement, useLayout } from '@nebula.js/stardust';
import properties from './object-properties';
import data from './data';
import ext from './ext';
import './style.css';
import 'leonardo-ui/dist/leonardo-ui.css'

/**
 * Entrypoint for your sense visualization
 * &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object} galaxy Contains global settings from the environment.
 * Useful for cases when stardust hooks are unavailable (ie: outside the component function)
 * &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object} galaxy.anything Extra environment dependent options
 * &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object=} galaxy.anything.sense Optional object only present within Sense,
 * see: https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense
 */
export default function supernova(galaxy) {
  return {
    qae: {
      properties,
      data,
    },
    ext: ext(galaxy),
    component() {
      const element = useElement();
      const layout = useLayout();

      console.log(layout);
      element.innerHTML = `&amp;lt;button class="lui-button"&amp;gt;${layout.props.buttonLabel}&amp;lt;/button&amp;gt;`;
    },
  };
}&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 29 Apr 2023 15:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2066102#M1231774</guid>
      <dc:creator>tens</dc:creator>
      <dc:date>2023-04-29T15:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CSS inside nebula.js extension framework</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2066562#M1231776</link>
      <description>&lt;P&gt;The code from you is working, but for me, what is not working is to use icons from leonardoui.&lt;/P&gt;
&lt;P&gt;import { useElement, useLayout } from '@nebula.js/stardust';&lt;BR /&gt;import properties from './object-properties';&lt;BR /&gt;import data from './data';&lt;BR /&gt;import ext from './ext';&lt;BR /&gt;import './style.css';&lt;BR /&gt;import 'leonardo-ui/dist/leonardo-ui.css'&lt;/P&gt;
&lt;P&gt;/**&lt;BR /&gt;* Entrypoint for your sense visualization&lt;BR /&gt;* &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object} galaxy Contains global settings from the environment.&lt;BR /&gt;* Useful for cases when stardust hooks are unavailable (ie: outside the component function)&lt;BR /&gt;* &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object} galaxy.anything Extra environment dependent options&lt;BR /&gt;* &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120368"&gt;@param&lt;/a&gt; {object=} galaxy.anything.sense Optional object only present within Sense,&lt;BR /&gt;* see: &lt;A href="https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense" target="_blank"&gt;https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense&lt;/A&gt;&lt;BR /&gt;*/&lt;BR /&gt;export default function supernova(galaxy) {&lt;BR /&gt;return {&lt;BR /&gt;qae: {&lt;BR /&gt;properties,&lt;BR /&gt;data,&lt;BR /&gt;},&lt;BR /&gt;ext: ext(galaxy),&lt;BR /&gt;component() {&lt;BR /&gt;const element = useElement();&lt;BR /&gt;const layout = useLayout();&lt;/P&gt;
&lt;P&gt;console.log(layout);&lt;BR /&gt;element.innerHTML = "&amp;lt;span class='lui-icon lui-icon--play' aria-hidden='true'&amp;gt;&amp;lt;/span&amp;gt;";&lt;BR /&gt;},&lt;BR /&gt;};&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Any further ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 07:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2066562#M1231776</guid>
      <dc:creator>WhoAmI</dc:creator>
      <dc:date>2023-05-02T07:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CSS inside nebula.js extension framework</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2067537#M1231778</link>
      <description>&lt;P&gt;I tried to add icon in my extension, and I notice when you import your extension extension, leonardo is already used by qlik and so icon appear without adding any dependencies.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 07:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2067537#M1231778</guid>
      <dc:creator>tens</dc:creator>
      <dc:date>2023-05-04T07:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CSS inside nebula.js extension framework</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2067627#M1231780</link>
      <description>&lt;P&gt;Doesnt work by me, frustrating. For example using this icon wont work:&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;lui-icon--print&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://qlik-oss.github.io/leonardo-ui/icons.html" target="_blank"&gt;https://qlik-oss.github.io/leonardo-ui/icons.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 May 2023 11:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2067627#M1231780</guid>
      <dc:creator>WhoAmI</dc:creator>
      <dc:date>2023-05-04T11:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CSS inside nebula.js extension framework</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2155439#M1231782</link>
      <description>&lt;P&gt;Your extension should load what it needs and not rely on qlik sense to provide it. Any css loaded by the client might change, and specifically leonardo-ui is legacy code and will be removed.&lt;/P&gt;
&lt;P&gt;The point of an external Extensions API such as Nebula is that we don't need to rely on the Sense code base to provide certain things, thus removing the need for loading all that code only to display a chart.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 12:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-CSS-inside-nebula-js-extension-framework/m-p/2155439#M1231782</guid>
      <dc:creator>tsm</dc:creator>
      <dc:date>2023-12-21T12:19:09Z</dc:date>
    </item>
  </channel>
</rss>

